Add (mostly disabled) mypy configs.

We're missing a lot of checking right now. Most of it requires
additional cleanup. For now I've enabled what I could and will follow up
to clean up and enable more checking.
This commit is contained in:
Dan Albert 2021-07-07 15:04:52 -07:00
parent 7983cd8d62
commit 29753a6aa9

View File

@ -1,8 +1,22 @@
[mypy]
# TODO: Cleanup so we can enable the checks commented out here.
# check_untyped_defs = True
# disallow_any_decorated = True
# disallow_any_expr = True
# disallow_any_generics = True
# disallow_any_unimported = True
disallow_untyped_decorators = True
# disallow_untyped_defs = True
follow_imports = silent
# implicit_reexport = False
namespace_packages = True
no_implicit_optional = True
warn_redundant_casts = True
# warn_return_any = True
# warn_unreachable = True
warn_unused_ignores = True
[mypy-dcs.*]
follow_imports=silent
ignore_missing_imports = True
[mypy-faker.*]