add pre-commit

This commit is contained in:
Robert Resch 2022-01-29 17:24:00 +01:00
parent ec3cb41dc0
commit bf2514cb09
14 changed files with 320 additions and 800 deletions

19
mypy.ini Normal file
View file

@ -0,0 +1,19 @@
[mypy]
python_version = 3.7
show_error_codes = true
follow_imports = silent
ignore_missing_imports = true
strict_equality = true
warn_incomplete_stub = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = true
check_untyped_defs = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
no_implicit_optional = true
warn_return_any = true
warn_unreachable = true