Make mypy a bit stricter

This commit is contained in:
Kovid Goyal
2020-03-05 19:57:28 +05:30
parent 81a58186c6
commit 77e9460eea
11 changed files with 74 additions and 53 deletions

View File

@@ -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