Skip to content

Commit 2d6edbc

Browse files
committed
pyproject.toml: add ruff config
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
1 parent b4ba8da commit 2d6edbc

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,3 +231,20 @@ commands =
231231
extras = dev
232232
commands = pylint -f colorized labgrid
233233
"""
234+
235+
[tool.ruff]
236+
line-length = 119
237+
exclude = [
238+
"__pycache__",
239+
"labgrid.egg-info",
240+
".pybuild",
241+
"build",
242+
"debian",
243+
"env",
244+
"venv",
245+
"envs",
246+
"dist",
247+
]
248+
249+
[tool.ruff.lint]
250+
select = ["B", "E", "F", "I", "SIM", "UP"]

0 commit comments

Comments
 (0)