summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2021-07-09 14:32:26 +0200
committerJulian Berman <Julian@GrayVines.com>2021-07-09 15:04:57 +0200
commit59096e609e0fd06cb462a4b013015fd336cb2dab (patch)
tree5ed8cc710971c17d8fe47f9cdcd3460d69d68977 /tox.ini
parentdf2c9e8b56f21f15597efc1111e809ca12311a5c (diff)
downloadjsonschema-59096e609e0fd06cb462a4b013015fd336cb2dab.tar.gz
Don't allow warnings during test runs.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 0b22f32..d741610 100644
--- a/tox.ini
+++ b/tox.ini
@@ -13,6 +13,7 @@ changedir = {envtmpdir}
passenv = CODECOV* CI
setenv =
JSON_SCHEMA_TEST_SUITE = {toxinidir}/json
+ coverage,codecov: PYTHONWARNINGS = error,ignore:Creating a LegacyVersion:DeprecationWarning,
coverage,codecov: MAYBE_COVERAGE = coverage run -m
coverage,codecov: COVERAGE_RCFILE={toxinidir}/.coveragerc