Skip to content

Commit 6b25cdc

Browse files
committed
we prefer D211/D212 as linting rules
1 parent fa97462 commit 6b25cdc

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -198,12 +198,10 @@ line-length = 120
198198
ignore = [
199199
# COM812 may cause conflicts when used with the ruff formatter
200200
"COM812",
201-
# D203 conflicts withs D211
201+
# D211 conflicts with D203 - we prefer D211, so we ignore D203
202202
"D203", # 1 blank line required before class docstring
203-
# "D211", # No blank lines allowed before class docstring
204-
# D212 conflicts with D213
205-
"D212", # Multi-line docstring summary should start at the first line
206-
# "D213", # Multi-line docstring summary should start at the second line
203+
# D212 conflicts with D213 - we prefer D212, so we ignore D213
204+
"D213", # Multi-line docstring summary should start at the second line
207205
"ERA001", # Found commented-out code
208206
]
209207
select = ["ALL"]

0 commit comments

Comments
 (0)