-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
69 lines (60 loc) · 1.07 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[tool.black]
line-length = 95
target-version = ["py310"]
[tool.ruff]
fix = true
line-length = 95
show-fixes = true
target-version = "py310"
lint.ignore = ["A003", "RUF012", "SLF001", "ISC001"]
lint.select = [
"A",
"B",
"BLE",
"C40",
"DJ",
"E",
"F",
"G",
"I",
"ICN",
"INP",
"ISC",
"N",
"PIE",
"PL",
"PT",
"PTH",
"PYI",
"Q",
"RET",
"RSE",
"RUF",
"S",
"SIM",
"SLF",
"TID",
"UP",
"W",
"YTT",
]
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"
[tool.ruff.lint.isort]
combine-as-imports = true
[tool.ruff.lint.per-file-ignores]
"users/migrations/*.py" = ["E501", "N806"]
"comicsdb/models/__init__.py" = ["I001"]
"comicsdb/migrations/*.py" = ["E501", "N806"]
"tests/*/*.py" = ["PLR2004", "PT004", "S101"]
[tool.coverage.html]
directory = "test-results/coverage"
[tool.coverage.run]
source = ["comicsdb", "metron", "users"]
branch = true
concurrency = ["multiprocessing"]
[tool.coverage.report]
show_missing = true
[tool.djlint]
profile = "django"
ignore = "H031"