Skip to content

Commit 033a45a

Browse files
Reduce ruff warnings (#778)
nit: minor changes to clean up ruff / pre-commit output --------- Co-authored-by: Kyle Barron <[email protected]>
1 parent 229709f commit 033a45a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ ignore = [
119119
"B028", # No explicit `stacklevel` keyword argument found
120120
"B011", # Do not `assert False` (`python -O` removes these calls), raise `AssertionError()`
121121
"D100", # Missing docstring in public module
122+
"D203", # incorrect-blank-line-before-class
123+
"D213", # multi-line-summary-second-line
122124
"D406", # Section name should end with a newline ("Returns")Ruff
123125
"D407", # Missing dashed underline after section
124126
"E501", # Line too long
@@ -161,7 +163,7 @@ ignore = [
161163
"SLF001", # Private member accessed
162164
]
163165

164-
[tool.ruff.extend-per-file-ignores]
166+
[tool.ruff.lint.extend-per-file-ignores]
165167
"__init__.py" = [
166168
"F401", # Allow unused imports in __init__.py files
167169
]

0 commit comments

Comments
 (0)