Skip to content

Commit b80ac6f

Browse files
Ignore Ruff warnings about docstrings
Ruff complains about strings with `:yield:` directives not ending in a period. Added ignores for them in `pyproject.toml`. Signed-off-by: Spaceship Operations <[email protected]>
1 parent 7649420 commit b80ac6f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ ignore = [
8383
"D203", # `one-blank-line-before-class` (D203) and `no-blank-line-before-class` (D211) are incompatible
8484
"D212", # `multi-line-summary-first-line` (D212) and `multi-line-summary-second-line` (D213) are incompatible
8585
"S104", # Possible binding to all interface
86+
"D400", # first line in docstring should end in a period
87+
"D415", # first line in docstring should end in a period, question mark or exclamation point
8688
]
8789
[tool.ruff.per-file-ignores]
8890
"tests/**/*.py" = [

0 commit comments

Comments
 (0)