29 lines
600 B
INI
29 lines
600 B
INI
[mypy]
|
|
# show error messages from unrelated files
|
|
follow_imports = normal
|
|
|
|
# suppress errors about unsatisfied imports
|
|
ignore_missing_imports = True
|
|
|
|
# be strict
|
|
check_untyped_defs = True
|
|
disallow_any_generics = True
|
|
disallow_incomplete_defs = True
|
|
disallow_untyped_calls = True
|
|
disallow_untyped_defs = True
|
|
no_implicit_optional = True
|
|
strict_optional = True
|
|
warn_no_return = True
|
|
warn_redundant_casts = True
|
|
warn_unreachable = True
|
|
warn_unused_ignores = True
|
|
|
|
# sometimes redefinition is just fine
|
|
allow_redefinition = True
|
|
|
|
[mypy-tests.*]
|
|
ignore_errors = True
|
|
|
|
[mypy-conftest]
|
|
ignore_errors = True
|