Skip to content

Commit

Permalink
project: Add ruff check to tox
Browse files Browse the repository at this point in the history
Run ruff check as part of tox.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
  • Loading branch information
pdgendt committed Nov 4, 2024
1 parent 306b0a2 commit 3ca3a00
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,12 @@ deps =
types-PyYAML
flake8
mypy
ruff
setenv =
# For instance: ./.tox/py3/tmp/
TOXTEMPDIR={envtmpdir}
commands =
python -m pytest --cov-report=html --cov=west {posargs:tests} --basetemp='{envtmpdir}/pytest with space/'
python -m flake8 --config='{toxinidir}'/tox.ini '{toxinidir}'
python -m ruff check '{toxinidir}'
python -m mypy --config-file='{toxinidir}'/tox.ini --package=west

0 comments on commit 3ca3a00

Please sign in to comment.