[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