2022-10-05 14:17:00 +01:00
|
|
|
[tool.djlint]
|
|
|
|
ignore = "T003,H006,H023,H030,H031"
|
2022-08-03 20:22:02 +01:00
|
|
|
indent = 2
|
2022-10-05 14:17:00 +01:00
|
|
|
preserve_blank_lines = true
|
|
|
|
profile = "django"
|
|
|
|
max_line_length = 12000
|
|
|
|
max_attribute_length = 1000
|
|
|
|
extension = "html"
|
|
|
|
format_attribute_template_tags=true
|
|
|
|
custom_blocks="cache"
|
|
|
|
|
|
|
|
[tool.djlint.per-file-ignores]
|
|
|
|
"_snippet_link.html" = "H025"
|
2022-11-03 14:50:39 +00:00
|
|
|
|
|
|
|
[tool.mypy]
|
|
|
|
no_implicit_optional = true
|
|
|
|
warn_unused_ignores = true
|
|
|
|
strict_optional = true
|
|
|
|
check_untyped_defs = true
|
|
|
|
ignore_missing_imports = true
|
|
|
|
disallow_untyped_calls = true
|
|
|
|
disallow_untyped_defs = true
|
|
|
|
disallow_incomplete_defs = true
|
|
|
|
exclude = [
|
|
|
|
'^docker/dev/volumes',
|
|
|
|
'^env'
|
|
|
|
]
|
|
|
|
|
|
|
|
[tool.coverage.report]
|
|
|
|
exclude_lines = [
|
|
|
|
"pragma: no cover",
|
|
|
|
"if settings.DEBUG"
|
|
|
|
]
|
|
|
|
omit = [
|
|
|
|
"*/migrations/*",
|
|
|
|
]
|
2023-07-15 15:10:05 +01:00
|
|
|
|
|
|
|
[tool.ruff]
|
|
|
|
select = ["E", "F", "I", "W", "N", "B", "A", "C4", "T20", "DJ"]
|
|
|
|
ignore = ["E501", "DJ008"]
|
|
|
|
|
|
|
|
[tool.ruff.per-file-ignores]
|
|
|
|
"*/migrations/*" = ["N806"]
|