mirror of
https://github.com/mwisnowski/mtg_python_deckbuilder.git
synced 2025-12-16 07:30:13 +01:00
27 lines
No EOL
629 B
INI
27 lines
No EOL
629 B
INI
[mypy]
|
|
python_version = 3.11
|
|
# Relaxed strict mode - enable incrementally per-module
|
|
strict = False
|
|
warn_return_any = False
|
|
warn_unused_configs = True
|
|
warn_unused_ignores = True
|
|
warn_redundant_casts = True
|
|
disallow_untyped_defs = False
|
|
ignore_missing_imports = True
|
|
|
|
# Allow mixin pattern in deck_builder phases
|
|
[mypy-code.deck_builder.phases.*]
|
|
disable_error_code = attr-defined
|
|
|
|
# Strict mode for new web API code (post-M5)
|
|
[mypy-code.web.routes.api]
|
|
disallow_untyped_defs = True
|
|
|
|
[mypy-inquirer.*]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-fuzzywuzzy.*]
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-IPython.*]
|
|
ignore_missing_imports = True |