demo / mypy.ini
AIVLAD's picture
feat: implement TDD for Wall Construction API with full type safety
cf09ddc
raw
history blame contribute delete
853 Bytes
[mypy]
# IMPORTANT: This version must match the version in python.ver file
# mypy does not support reading from external files, so this must be manually kept in sync
python_version = 3.12
files = .
exclude = ^(\.venv|venv)/.*
# Enable proper package resolution with MYPYPATH set to parent
namespace_packages = True
explicit_package_bases = True
follow_imports = silent
ignore_missing_imports = False
strict = True
warn_return_any = True
warn_unused_configs = True
disallow_untyped_defs = True
check_untyped_defs = True
no_implicit_optional = True
warn_redundant_casts = True
warn_unused_ignores = True
warn_unreachable = True
strict_equality = True
plugins = mypy_django_plugin.main
[mypy.plugins.django-stubs]
django_settings_module = config.settings.base
[mypy-loguru.*]
ignore_missing_imports = True
[mypy-factory.*]
ignore_missing_imports = True