-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
30 lines (28 loc) · 807 Bytes
/
Copy pathpyproject.toml
File metadata and controls
30 lines (28 loc) · 807 Bytes
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
[tool.ruff]
line-length = 100
target-version = "py312"
extend-exclude = [
"**/migrations",
"node_modules",
".venv",
".claude",
"static_cdn",
"media",
"media_cdn",
]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "DJ"]
ignore = [
"E501", # line-length is enforced by formatter, not lint
# The codebase mixes tabs and spaces in several files (legacy Django
# boilerplate). Auto-fixable by `ruff format` but would reformat 70+ files;
# keep it out of this CI PR and clean up in a dedicated formatting pass.
"E101",
"W191",
# Percent formatting → f-strings is a stylistic modernization with churn
# comparable to a full reformat. Not a correctness issue. Defer.
"UP031",
]
[tool.ruff.format]
quote-style = "single"
indent-style = "tab"