tox: hide currently unfixable warnings (#37760)

This commit is contained in:
Benjamin Dauvergne 2019-11-19 14:01:20 +01:00
parent 357540255b
commit 8c3815f6cd
1 changed files with 11 additions and 0 deletions

11
tox.ini
View File

@ -40,3 +40,14 @@ commands =
./get_wcs.sh
django111: py.test {posargs: {env:FAST:} --junitxml=test_{envname}_results.xml --cov-report xml --cov-report html --cov=passerelle/ --cov-config .coveragerc tests/}
django111: ./pylint.sh passerelle/
[pytest]
filterwarnings = default
error:.*
# to delete when using python3, it's a warning inside ElementTree
ignore:.*tree.iter().*:PendingDeprecationWarning
# pyproj warning about deprecation of '+init=authority:code which comes from using Proj(init='EPSG:4326') instead of Proj('EPSG:4326')
# I tried the new syntax but it broke some opengis tests
module:.*init.*authority.*code.*syntax is deprecated:DeprecationWarning:pyproj
# wcs root directory must be renamed to fix this one
ignore:Not importing directory.*/wcs':ImportWarning