Skip to content

Commit aa05a60

Browse files
committed
ENH: Consider warnings as errors when running pytest
Consider warnings as errors when running `pytest`.
1 parent a6bcd48 commit aa05a60

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ uv_resolution =
6767
min: lowest-direct
6868

6969
commands =
70-
pytest --durations=20 --durations-min=1.0 --cov-report term-missing {posargs:-n auto}
70+
pytest -W error --durations=20 --durations-min=1.0 --cov-report term-missing {posargs:-n auto}
7171

7272
[testenv:style]
7373
description = Check our style guide

0 commit comments

Comments
 (0)