Skip to content

Commit 1229b9d

Browse files
committed
Do not turn Python warnings into errors in tox
1 parent ce21d67 commit 1229b9d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tox.ini

+6
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ commands =
1919
pip install -e .[d]
2020
coverage erase
2121
pytest tests --run-optional no_jupyter \
22+
--pythonwarnings=default \
2223
!ci: --numprocesses auto \
2324
--cov {posargs}
2425
pip install -e .[jupyter]
2526
pytest tests --run-optional jupyter \
27+
--pythonwarnings=default \
2628
-m jupyter \
2729
!ci: --numprocesses auto \
2830
--cov --cov-append {posargs}
@@ -40,11 +42,13 @@ deps =
4042
commands =
4143
pip install -e .[d]
4244
pytest tests \
45+
--pythonwarnings=default \
4346
--run-optional no_jupyter \
4447
!ci: --numprocesses auto \
4548
ci: --numprocesses 1
4649
pip install -e .[jupyter]
4750
pytest tests --run-optional jupyter \
51+
--pythonwarnings=default \
4852
-m jupyter \
4953
!ci: --numprocesses auto \
5054
ci: --numprocesses 1
@@ -66,12 +70,14 @@ commands =
6670
pip install -e .[d]
6771
coverage erase
6872
pytest tests \
73+
--pythonwarnings=default \
6974
--run-optional no_jupyter \
7075
!ci: --numprocesses auto \
7176
ci: --numprocesses 1 \
7277
--cov {posargs}
7378
pip install -e .[jupyter]
7479
pytest tests --run-optional jupyter \
80+
--pythonwarnings=default \
7581
-m jupyter \
7682
!ci: --numprocesses auto \
7783
ci: --numprocesses 1 \

0 commit comments

Comments
 (0)