test/mypy.ini

33 lines
726 B
INI

[mypy]
warn_unused_configs = True
disallow_any_generics = True
disallow_subclassing_any = True
disallow_untyped_calls = True
disallow_incomplete_defs = True
disallow_untyped_decorators = True
no_implicit_optional = True
warn_redundant_casts = True
warn_return_any = True
no_implicit_reexport = True
strict_equality = True
# This seems impossible to turn on in a version-independent manner
warn_unused_ignores = False
[mypy-pdfminer.*]
disallow_untyped_defs = True
[mypy-cryptography.hazmat.*]
ignore_missing_imports = True
[mypy-pytest.*]
ignore_missing_imports = True
[mypy-setuptools.*]
ignore_missing_imports = True
[mypy-nox.*]
ignore_missing_imports = True
[mypy-charset_normalizer.*]
ignore_missing_imports = True