tox: hide currently unfixable warnings (#37760)
This commit is contained in:
parent
357540255b
commit
8c3815f6cd
11
tox.ini
11
tox.ini
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue