Skip to content

Commit

Permalink
ENH: Consider warnings as errors when running pytest
Browse files Browse the repository at this point in the history
Consider warnings as errors when running `pytest`: exclude the `min`
dependencies configuration as warnings are expected with older versions.
  • Loading branch information
jhlegarreta committed Jan 10, 2025
1 parent a6bcd48 commit 5a45007
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 @@ -67,7 +67,7 @@ uv_resolution =
min: lowest-direct

commands =
pytest --durations=20 --durations-min=1.0 --cov-report term-missing {posargs:-n auto}
pytest --durations=20 --durations-min=1.0 --cov-report term-missing !min: -Werror {posargs:-n auto}

[testenv:style]
description = Check our style guide
Expand Down

0 comments on commit 5a45007

Please sign in to comment.