production-taskbar / backend / setup.cfg
setup.cfg
Raw
# setup.cfg

[yapf]
based_on_style = pep8
spaces_before_comment = 4
split_before_logical_operator = True
allow_split_before_dict_value = False
coalesce_brackets = False
indent_dictionary_value = False

[mypy.plugins.django-stubs]
django_settings_module = "config.settings"

[mypy]
python_version = 3.11
exclude = config/*|backend/venv/*|venv/*|migrations
follow_imports = normal
check_untyped_defs = True
disallow_any_generics = True
disallow_untyped_calls = True
disallow_untyped_decorators = False
disallow_untyped_defs = True
disallow_incomplete_defs = True
ignore_errors = False
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
warn_return_any = True
plugins = mypy_django_plugin.main, mypy_drf_plugin.main
ignore_missing_imports = True
ignore_missing_imports_per_module = True

[mypy-server.apps.*.migrations.*]
ignore_errors = True

[mypy-server.apps.*.models]
disallow_any_explicit = False