1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-01-30 02:23:54 +00:00
bramw_baserow/backend/mypy.ini
2024-05-24 07:16:57 +00:00

29 lines
783 B
INI

# mypy.ini
[mypy]
python_version = 3.11
exclude = "[a-zA-Z_]+.migrations.|[a-zA-Z_]+.tests.|[a-zA-Z_]+.testing."
allow_redefinition = false
mypy_path=backend/src:premium/backend/src:enterprise/backend/src
check_untyped_defs = True
disallow_untyped_defs = True
disallow_any_generics = True
disallow_untyped_calls = True
disallow_untyped_decorators = True
ignore_errors = False
ignore_missing_imports = True
implicit_reexport = False
strict_optional = True
strict_equality = True
no_implicit_optional = True
warn_unused_ignores = True
warn_redundant_casts = True
warn_unused_configs = True
warn_unreachable = True
warn_no_return = True
plugins =
mypy_django_plugin.main,
mypy_drf_plugin.main
[mypy.plugins.django-stubs]
django_settings_module = "baserow.config.settings.dev"