From 3ca3a009593700a390ec5c5135c9673f35890e37 Mon Sep 17 00:00:00 2001 From: Pieter De Gendt Date: Sat, 2 Nov 2024 20:49:20 +0100 Subject: [PATCH] project: Add ruff check to tox Run ruff check as part of tox. Signed-off-by: Pieter De Gendt --- tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox.ini b/tox.ini index d342a56..4cbe9d3 100644 --- a/tox.ini +++ b/tox.ini @@ -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