-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (91 loc) · 1.71 KB
/
pyproject.toml
File metadata and controls
96 lines (91 loc) · 1.71 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
# -----------------------------------------
# Tool configurations
# -----------------------------------------
[tool.setuptools]
packages = ["agentsphere", "config"]
# -----------------------------------------
# djLint configuration
# -----------------------------------------
[tool.djlint]
blank_line_after_tag = "load,extends"
close_void_tags = true
format_css = true
format_js = true
ignore = "H006,H030,H031,T002,H021"
include = "H017,H035"
indent = 4
max_line_length = 120
profile = "django"
# -----------------------------------------
# djLint CSS configuration
# -----------------------------------------
[tool.djlint.css]
indent_size = 4
# -----------------------------------------
# djLint JS configuration
# -----------------------------------------
[tool.djlint.js]
indent_size = 4
# -----------------------------------------
# Ruff configuration
# -----------------------------------------
[tool.ruff]
target-version = "py312"
extend-exclude = ["*/migrations/*.py", "staticfiles/*"]
line-length = 120
# -----------------------------------------
# Ruff linting configuration
# -----------------------------------------
[tool.ruff.lint]
select = [
"F",
"E",
"W",
"C90",
"I",
"N",
"UP",
"YTT",
"ASYNC",
"S",
"BLE",
"FBT",
"B",
"A",
"COM",
"C4",
"DTZ",
"T10",
"DJ",
"EM",
"EXE",
"FA",
"ISC",
"ICN",
"G",
"INP",
"PIE",
"T20",
"PYI",
"PT",
"Q",
"RSE",
"RET",
"SLF",
"SLOT",
"SIM",
"TID",
"TC",
"INT",
"PTH",
"ERA",
"PD",
"PGH",
"PL",
"TRY",
"FLY",
"PERF",
"RUF",
]
ignore = ["S101", "RUF012", "SIM102", "UP038", "EXE002"]
extend-unsafe-fixes = ["UP038"]