Skip to content

Commit 78dad1f

Browse files
stephane-caronStéphane Caron
authored andcommitted
[CI] Configure ruff
1 parent 204c61e commit 78dad1f

File tree

1 file changed

+20
-3
lines changed

1 file changed

+20
-3
lines changed

pyproject.toml

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,23 @@ Changelog = "https://github.com/stephane-caron/robot_descriptions.py/blob/master
5151
[tool.black]
5252
line-length = 79
5353

54-
[tool.isort]
55-
profile = "black"
56-
line_length = 79
54+
[tool.ruff]
55+
line-length = 79
56+
select = [
57+
# pyflakes
58+
"F",
59+
# pycodestyle
60+
"E",
61+
"W",
62+
# isort
63+
"I001",
64+
# pydocstyle
65+
"D"
66+
]
67+
ignore = [
68+
"D401", # good for methods but not for class docstrings
69+
"D405", # British-style section names are also "proper"!
70+
]
71+
72+
[tool.ruff.pydocstyle]
73+
convention = "google"

0 commit comments

Comments
 (0)