File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -95,10 +95,16 @@ ignore = [
9595 " ANN202" ,
9696 # I don't know how to more properly annotate "pass along all arguments".
9797 " ANN401" ,
98+ # It's totally OK to call functions for default arguments.
99+ " B008" ,
98100 # raise SomeException(...) is fine.
99101 " B904" ,
102+ # There's no need for explicit strict, this is simply zip's default behavior.
103+ " B905" ,
100104 # It's fine to not have docstrings for magic methods.
101105 " D105" ,
106+ # __init__ especially doesn't need a docstring
107+ " D107" ,
102108 # This rule makes diffs uglier when expanding docstrings (and it's uglier)
103109 " D200" ,
104110 # No blank lines before docstrings.
@@ -122,6 +128,6 @@ extend-exclude = ["suite"]
122128docstring-quotes = " double"
123129
124130[tool .ruff .per-file-ignores ]
131+ "noxfile.py" = [" ANN" , " D100" ]
125132"docs/*" = [" ANN" , " D" ]
126133"referencing/tests/*" = [" ANN" , " D" , " RUF012" ]
127- "noxfile.py" = [" ANN" , " D100" ]
You can’t perform that action at this time.
0 commit comments