Start working with mypy

This commit is contained in:
Dave Halter
2020-07-25 15:05:42 +02:00
parent 34152d29b2
commit a474895764
5 changed files with 61 additions and 48 deletions
+13
View File
@@ -10,3 +10,16 @@ ignore =
E226,
# line break before binary operator
W503,
[mypy]
disallow_subclassing_any = True
# Avoid creating future gotchas emerging from bad typing
warn_redundant_casts = True
warn_unused_ignores = True
warn_return_any = True
warn_unused_configs = True
warn_unreachable = True
strict_equality = True