Skip to content

Commit 7087f57

Browse files
committed
Move pytest warning config to setup.cfg
1 parent ade2121 commit 7087f57

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

setup.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ show_missing = true
77
[tool:pytest]
88
addopts = -rsx --tb=short
99
testpaths = tests
10+
filterwarnings = error
1011

1112
[metadata]
1213
# ensure LICENSE is included in wheel metadata

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ minversion = 2.5.0
44

55
[testenv]
66
extras = testing
7-
commands = coverage run -m pytest -W error {posargs}
7+
commands = coverage run -m pytest {posargs}
88

99
[testenv:coverage-report]
1010
deps = coverage

0 commit comments

Comments
 (0)