File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -95,10 +95,16 @@ ignore = [
95
95
" ANN202" ,
96
96
# I don't know how to more properly annotate "pass along all arguments".
97
97
" ANN401" ,
98
+ # It's totally OK to call functions for default arguments.
99
+ " B008" ,
98
100
# raise SomeException(...) is fine.
99
101
" B904" ,
102
+ # There's no need for explicit strict, this is simply zip's default behavior.
103
+ " B905" ,
100
104
# It's fine to not have docstrings for magic methods.
101
105
" D105" ,
106
+ # __init__ especially doesn't need a docstring
107
+ " D107" ,
102
108
# This rule makes diffs uglier when expanding docstrings (and it's uglier)
103
109
" D200" ,
104
110
# No blank lines before docstrings.
@@ -122,6 +128,6 @@ extend-exclude = ["suite"]
122
128
docstring-quotes = " double"
123
129
124
130
[tool .ruff .per-file-ignores ]
131
+ "noxfile.py" = [" ANN" , " D100" ]
125
132
"docs/*" = [" ANN" , " D" ]
126
133
"referencing/tests/*" = [" ANN" , " D" , " RUF012" ]
127
- "noxfile.py" = [" ANN" , " D100" ]
You can’t perform that action at this time.
0 commit comments