Scaffold containerized Django/Wagtail app with core features

This commit is contained in:
Codex_B
2026-02-28 11:52:59 +00:00
parent 62323abd62
commit b5f0f40c4c
84 changed files with 1647 additions and 0 deletions

45
pyproject.toml Normal file
View File

@@ -0,0 +1,45 @@
[tool.ruff]
line-length = 120
target-version = "py312"
exclude = ["migrations"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP"]
[tool.ruff.lint.per-file-ignores]
"config/settings/development.py" = ["F403", "F405"]
[tool.mypy]
python_version = "3.12"
plugins = ["mypy_django_plugin.main"]
warn_unused_configs = true
warn_redundant_casts = true
warn_unused_ignores = true
check_untyped_defs = true
exclude = ["migrations"]
disable_error_code = ["var-annotated", "override", "import-untyped", "arg-type"]
allow_untyped_globals = true
[[tool.mypy.overrides]]
module = ["wagtail.*", "taggit.*", "modelcluster.*", "wagtailseo.*", "debug_toolbar"]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["apps.authors.models"]
ignore_errors = true
[tool.django-stubs]
django_settings_module = "config.settings.development"
[tool.coverage.run]
source = ["apps"]
omit = [
"*/migrations/*",
"*/tests/*",
]
[tool.coverage.report]
omit = [
"*/migrations/*",
"*/tests/*",
]