Disable Ruff rule D205 (blank-line-after-summary)

because it disallows, in particular, class docstrings that consist
only of a summary line
This commit is contained in:
Dominik Jain 2023-09-26 17:40:21 +02:00
parent e993425aa1
commit 38cf982034

View File

@ -124,7 +124,7 @@ ignore = [
"B008", # do not perform function calls in argument defaults. we do this sometimes "B008", # do not perform function calls in argument defaults. we do this sometimes
"B011", # assert false. we don't use python -O "B011", # assert false. we don't use python -O
"B028", # we don't need explicit stacklevel for warnings "B028", # we don't need explicit stacklevel for warnings
"D100", "D101", "D102", "D104", "D105", "D107", "D203", "D213", "D401", "D402", "D106", # docstring stuff "D100", "D101", "D102", "D104", "D105", "D107", "D203", "D213", "D401", "D402", "D106", "D205", # docstring stuff
"DTZ005", # we don't need that "DTZ005", # we don't need that
"RET505", # sacrifices visual discernability of control flow paths for brevity (regarding return statements) "RET505", # sacrifices visual discernability of control flow paths for brevity (regarding return statements)
# remaining rules from https://github.com/psf/black/blob/main/.flake8 (except W503) # remaining rules from https://github.com/psf/black/blob/main/.flake8 (except W503)