Skip to content

Commit

Permalink
pyproject.toml: add ruff config
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
  • Loading branch information
jluebbe committed Jun 20, 2024
1 parent b4ba8da commit 2d6edbc
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -231,3 +231,20 @@ commands =
extras = dev
commands = pylint -f colorized labgrid
"""

[tool.ruff]
line-length = 119
exclude = [
"__pycache__",
"labgrid.egg-info",
".pybuild",
"build",
"debian",
"env",
"venv",
"envs",
"dist",
]

[tool.ruff.lint]
select = ["B", "E", "F", "I", "SIM", "UP"]

0 comments on commit 2d6edbc

Please sign in to comment.