Add mypy support

This commit is contained in:
Christoph Burgdorf
2019-04-26 15:59:33 +02:00
parent 3c1bbfe738
commit 720b2cf3d2
3 changed files with 18 additions and 0 deletions

16
mypy.ini Normal file
View File

@ -0,0 +1,16 @@
[mypy]
check_untyped_defs = True
disallow_incomplete_defs = True
disallow_untyped_defs = True
disallow_any_generics = True
disallow_untyped_calls = True
disallow_untyped_decorators = True
disallow_subclassing_any = True
ignore_missing_imports = True
strict_optional = True
strict_equality = True
warn_redundant_casts = True
warn_return_any = True
warn_unused_configs = True
warn_unused_ignores = True