mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-25 09:48:09 +02:00
Make mypy a bit stricter
This commit is contained in:
14
setup.cfg
14
setup.cfg
@@ -15,9 +15,11 @@ multi_line_output = 5
|
||||
|
||||
[mypy]
|
||||
files = kitty,kittens,glfw/glfw.py,*.py
|
||||
|
||||
[mypy-kitty.conf.*]
|
||||
check_untyped_defs = True
|
||||
|
||||
[mypy-kitty.cli]
|
||||
check_untyped_defs = True
|
||||
no_implicit_optional = True
|
||||
sqlite_cache = True
|
||||
cache_fine_grained = True
|
||||
warn_redundant_casts = True
|
||||
warn_unused_ignores = True
|
||||
warn_return_any = True
|
||||
warn_unreachable = True
|
||||
# check_untyped_defs = True
|
||||
|
||||
Reference in New Issue
Block a user