Skip to content

Commit 62fc98c

Browse files
committed
Have ruff config a bit more compact
1 parent 24bf189 commit 62fc98c

1 file changed

Lines changed: 7 additions & 12 deletions

File tree

pyproject.toml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,22 +40,17 @@ exclude = [
4040
]
4141

4242
select = [
43-
"D",
44-
# summary lines have to be placed on the first physical line of the docstring
45-
"D212",
46-
# imperative mood for all docstrings
47-
"D401",
48-
# summary line has to end in a punctuation mark
49-
"D415",
50-
# require documentation for _all_ function parameters
51-
"D417",
43+
"D", # enable "pydocstyle" rules
44+
"D212", # summary lines must be on the first physical line of the docstring
45+
"D401", # imperative mood for all docstrings
46+
"D415", # summary line has to end in a punctuation mark
47+
"D417", # require documentation for *all* function parameters
48+
5249
]
5350

5451
ignore = [
55-
# no blank lines allowed after function docstring
56-
"D202",
52+
"D202", # no blank lines allowed after function docstring
5753
]
5854

59-
6055
[tool.ruff.lint.pydocstyle]
6156
convention = "numpy"

0 commit comments

Comments
 (0)