Skip to content

Commit

Permalink
tox: Turn pytest warnings into errors
Browse files Browse the repository at this point in the history
Don't allow warnings during testing.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
  • Loading branch information
pdgendt committed Oct 23, 2024
1 parent fe7d05b commit 06c82d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ 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 pytest -W error --cov-report=html --cov=west {posargs:tests} --basetemp='{envtmpdir}/pytest with space/'
python -m flake8 --config='{toxinidir}'/tox.ini '{toxinidir}'
python -m mypy --config-file='{toxinidir}'/tox.ini --package=west

0 comments on commit 06c82d1

Please sign in to comment.