Skip to content

Commit 310f3e4

Browse files
STY: Enforce more ruff rules
1 parent 9a581d6 commit 310f3e4

File tree

1 file changed

+22
-4
lines changed

1 file changed

+22
-4
lines changed

pyproject.toml

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,31 +154,49 @@ line-length = 99
154154

155155
[tool.ruff.lint]
156156
extend-select = [
157-
"F",
158-
"E",
159-
"W",
160157
"I",
161158
"UP",
162159
"YTT",
163160
"S",
164161
"BLE",
165162
"B",
166163
"A",
167-
# "CPY",
168164
"C4",
165+
# "CPY",
169166
"DTZ",
170167
"T10",
171168
# "EM",
172169
"EXE",
173170
"FA",
174171
"ISC",
175172
"ICN",
173+
"LOG",
174+
"G",
175+
"PIE",
176+
"PYI",
176177
"PT",
177178
"Q",
179+
# "SIM",
180+
# "TID",
181+
"FLY",
182+
# "PD",
183+
"PERF",
184+
"W",
185+
"PGH",
186+
"PLC",
187+
"PLE",
188+
"PLW",
189+
"FURB",
190+
"RUF",
178191
]
179192
ignore = [
180193
"S311", # We are not using random for cryptographic purposes
181194
"S603",
195+
"PIE790",
196+
"PERF203",
197+
"PLW2901",
198+
"RUF005",
199+
"RUF012",
182200
]
183201

184202
[tool.ruff.lint.flake8-quotes]

0 commit comments

Comments
 (0)