mirror of
https://github.com/OMGeeky/pytiled_parser.git
synced 2026-01-21 01:51:42 +01:00
Mypy cleanup
This commit is contained in:
19
setup.cfg
19
setup.cfg
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user