-
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpyproject.toml
More file actions
113 lines (102 loc) · 1.91 KB
/
pyproject.toml
File metadata and controls
113 lines (102 loc) · 1.91 KB
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[project]
name = "metron"
version = "0.1.0"
requires-python = ">=3.14"
dependencies = [
"boto3",
"chartkick",
"django",
"django-countries",
"django-filter",
"django-htmx",
"django-htmx-autocomplete",
"django-money",
"django-rest-framework-condition",
"django-simple-bulma",
"django-simple-history",
"django-storages",
"djangorestframework",
"drf-spectacular",
"gunicorn",
"imagehash",
"isbnlib",
"pillow",
"psycopg[binary,pool]",
"python-decouple",
"redis",
"sorl-thumbnail",
"wiki",
]
[dependency-groups]
dev = [
"coverage",
"django-debug-toolbar",
"djlint",
"pre-commit",
"pytest-cov",
"pytest-django",
"pytest-xdist",
"ruff",
"seed-isort-config",
]
[tool.black]
line-length = 100
target-version = ["py314"]
[tool.ruff]
fix = true
line-length = 100
show-fixes = true
target-version = "py314"
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]
"comicsdb/models/__init__.py" = ["I001"]
"comicsdb/migrations/*.py" = ["E501", "N806"]
"tests/*/*.py" = ["PLR2004", "PT004", "S101", "PLR0913"]
"users/apps.py" = ["PLC0415",]
"users/migrations/*.py" = ["E501", "N806"]
[tool.coverage.html]
directory = "test-results/coverage"
[tool.coverage.run]
source = ["comicsdb", "metron", "reading_lists","users", "user_collection"]
branch = true
concurrency = ["multiprocessing"]
[tool.coverage.report]
show_missing = true
[tool.djlint]
profile = "django"
ignore = "H031"