mypy: Organize config file a bit, since it's grown.

This commit is contained in:
Greg Price 2018-05-06 14:16:36 -07:00
parent 6b1e76c1b1
commit cc9acbe50d
1 changed files with 11 additions and 9 deletions

View File

@ -1,18 +1,20 @@
[mypy] [mypy]
check_untyped_defs = True # Logistics of what code to check and how to handle the data.
disallow_any_generics = True
follow_imports = silent
strict_optional = True
# This is a more explicit supporting form of strict-optional:
no_implicit_optional = True
scripts_are_modules = True scripts_are_modules = True
show_traceback = True show_traceback = True
cache_dir = var/mypy-cache cache_dir = var/mypy-cache
# Options to make the checking stricter.
check_untyped_defs = True
disallow_any_generics = True
warn_no_return = True warn_no_return = True
strict_optional = True
no_implicit_optional = True
# Options to make the checking *less* strict, which we
# might ideally eliminate.
follow_imports = silent
# REQ returning None issue # REQ returning None issue