Mypy cleanup

This commit is contained in:
Darren Eberly
2022-08-11 01:45:27 -04:00
parent b023baa6d8
commit e48c1374dc
6 changed files with 38 additions and 20 deletions

View File

@@ -77,25 +77,10 @@ line_length=88
# Global options:
[mypy]
python_version = 3.6
python_version = 3.10
warn_unused_configs = True
warn_redundant_casts = True
# Per-module options:
[mypy-pytiled_parser.*]
disallow_any_unimported = True
disallow_any_decorated = True
disallow_any_generics = True
disallow_subclassing_any = True
disallow_untyped_calls = True
disallow_untyped_defs = True
disallow_incomplete_defs = True
check_untyped_defs = True
disallow_untyped_decorators = True
warn_return_any = True
warn_unused_ignores = True
no_implicit_optional = True
strict_optional = True
ignore_missing_imports = True
[mypy-tests.*]
ignore_errors = True