Skip to content

Commit

Permalink
Do not turn Python warnings into errors in tox
Browse files Browse the repository at this point in the history
  • Loading branch information
jsh9 committed Jul 23, 2023
1 parent ce21d67 commit 1229b9d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@ commands =
pip install -e .[d]
coverage erase
pytest tests --run-optional no_jupyter \
--pythonwarnings=default \
!ci: --numprocesses auto \
--cov {posargs}
pip install -e .[jupyter]
pytest tests --run-optional jupyter \
--pythonwarnings=default \
-m jupyter \
!ci: --numprocesses auto \
--cov --cov-append {posargs}
Expand All @@ -40,11 +42,13 @@ deps =
commands =
pip install -e .[d]
pytest tests \
--pythonwarnings=default \
--run-optional no_jupyter \
!ci: --numprocesses auto \
ci: --numprocesses 1
pip install -e .[jupyter]
pytest tests --run-optional jupyter \
--pythonwarnings=default \
-m jupyter \
!ci: --numprocesses auto \
ci: --numprocesses 1
Expand All @@ -66,12 +70,14 @@ commands =
pip install -e .[d]
coverage erase
pytest tests \
--pythonwarnings=default \
--run-optional no_jupyter \
!ci: --numprocesses auto \
ci: --numprocesses 1 \
--cov {posargs}
pip install -e .[jupyter]
pytest tests --run-optional jupyter \
--pythonwarnings=default \
-m jupyter \
!ci: --numprocesses auto \
ci: --numprocesses 1 \
Expand Down

0 comments on commit 1229b9d

Please sign in to comment.