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 = [
173173universal = true
174174
175175[tool .ruff ]
176- select = [" ALL" ]
177176line-length = 79
178177
178+ [tool .ruff .lint ]
179+ select = [" ALL" ]
180+
179181ignore = [
180182 # We do not annotate the type of 'self'.
181183 " ANN101" ,
182184 # We are happy to manage our own "complexity".
183185 " C901" ,
186+ # Ruff warns that this conflicts with the formatter.
187+ " COM812" ,
184188 # Allow our chosen docstring line-style - no one-line summary.
185189 " D200" ,
186190 " D203" ,
@@ -194,6 +198,8 @@ ignore = [
194198 " D406" ,
195199 " D407" ,
196200 " D413" ,
201+ # Ruff warns that this conflicts with the formatter.
202+ " ISC001" ,
197203 # We have an existing interface to support and so we do not want to change
198204 # exception names.
199205 " N818" ,
@@ -211,7 +217,7 @@ ignore = [
211217# is sometimes annoyingly removed.
212218unfixable = [" ERA001" ]
213219
214- [tool .ruff .per-file-ignores ]
220+ [tool .ruff .lint . per-file-ignores ]
215221"tests/test_*.py" = [
216222 # Do not require tests to have a one-line summary.
217223 " D205" ,
@@ -266,7 +272,7 @@ dev = [
266272 " pytest==8.0.0" ,
267273 " pytest-cov==4.1" ,
268274 " PyYAML==6.0.1" ,
269- " ruff==0.1.15 " ,
275+ " ruff==0.2.0 " ,
270276 " Sphinx==7.2.6" ,
271277 " sphinx-autodoc-typehints==1.25.3" ,
272278 " sphinx-prompt==1.8" ,
You can’t perform that action at this time.
0 commit comments