Skip to content

Commit ee935b2

Browse files
STY: Enable more ruff rules
1 parent 2d166c6 commit ee935b2

File tree

1 file changed

+22
-5
lines changed

1 file changed

+22
-5
lines changed

pyproject.toml

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,32 +118,49 @@ line-length = 99
118118

119119
[tool.ruff.lint]
120120
extend-select = [
121-
"F",
122-
"E",
123-
"W",
124121
"I",
125122
"UP",
126123
"YTT",
127124
"S",
128125
"BLE",
129126
"B",
130127
"A",
131-
# "CPY",
132128
"C4",
129+
# "CPY",
133130
"DTZ",
134131
"T10",
135132
# "EM",
136133
"EXE",
137134
"FA",
138135
"ISC",
139136
"ICN",
137+
"LOG",
138+
"G",
139+
"PIE",
140+
"PYI",
140141
"PT",
141142
"Q",
143+
# "SIM",
144+
# "TID",
145+
"FLY",
146+
# "PD",
147+
"PERF",
148+
"W",
149+
"PGH",
150+
"PLC",
151+
"PLE",
152+
"PLW",
153+
"FURB",
154+
"RUF",
142155
]
143156
ignore = [
144157
"S311", # We are not using random for cryptographic purposes
145-
"ISC001",
158+
"S404",
146159
"S603",
160+
"PLW1510",
161+
"PLW2901",
162+
"RUF005",
163+
"RUF012",
147164
]
148165

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

0 commit comments

Comments
 (0)