-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
43 lines (38 loc) · 866 Bytes
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[tool.djlint]
ignore = "T003,H006,H023,H030,H031"
indent = 2
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"
[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/*",
]
[tool.ruff]
select = ["E", "F", "I", "W", "N", "B", "A", "C4", "T20", "DJ"]
ignore = ["E501", "DJ008"]
[tool.ruff.per-file-ignores]
"*/migrations/*" = ["N806"]