File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -173,14 +173,18 @@ requires = [
173
173
universal = true
174
174
175
175
[tool .ruff ]
176
- select = [" ALL" ]
177
176
line-length = 79
178
177
178
+ [tool .ruff .lint ]
179
+ select = [" ALL" ]
180
+
179
181
ignore = [
180
182
# We do not annotate the type of 'self'.
181
183
" ANN101" ,
182
184
# We are happy to manage our own "complexity".
183
185
" C901" ,
186
+ # Ruff warns that this conflicts with the formatter.
187
+ " COM812" ,
184
188
# Allow our chosen docstring line-style - no one-line summary.
185
189
" D200" ,
186
190
" D203" ,
@@ -194,6 +198,8 @@ ignore = [
194
198
" D406" ,
195
199
" D407" ,
196
200
" D413" ,
201
+ # Ruff warns that this conflicts with the formatter.
202
+ " ISC001" ,
197
203
# We have an existing interface to support and so we do not want to change
198
204
# exception names.
199
205
" N818" ,
@@ -211,7 +217,7 @@ ignore = [
211
217
# is sometimes annoyingly removed.
212
218
unfixable = [" ERA001" ]
213
219
214
- [tool .ruff .per-file-ignores ]
220
+ [tool .ruff .lint . per-file-ignores ]
215
221
"tests/test_*.py" = [
216
222
# Do not require tests to have a one-line summary.
217
223
" D205" ,
@@ -266,7 +272,7 @@ dev = [
266
272
" pytest==8.0.0" ,
267
273
" pytest-cov==4.1" ,
268
274
" PyYAML==6.0.1" ,
269
- " ruff==0.1.15 " ,
275
+ " ruff==0.2.0 " ,
270
276
" Sphinx==7.2.6" ,
271
277
" sphinx-autodoc-typehints==1.25.3" ,
272
278
" sphinx-prompt==1.8" ,
You can’t perform that action at this time.
0 commit comments