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`.
  • Loading branch information
jhlegarreta committed Jan 9, 2025
1 parent a6bcd48 commit aa05a60
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 -W error --durations=20 --durations-min=1.0 --cov-report term-missing {posargs:-n auto}

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

0 comments on commit aa05a60

Please sign in to comment.