Projet

Général

Profil

0008-tox-hide-currently-unfixable-warnings-37760.patch

Benjamin Dauvergne, 22 novembre 2019 12:55

Télécharger (1,18 ko)

Voir les différences:

Subject: [PATCH 8/8] tox: hide currently unfixable warnings (#37760)

 tox.ini | 11 +++++++++++
 1 file changed, 11 insertions(+)
tox.ini
40 40
  ./get_wcs.sh
41 41
  django111: py.test {posargs: {env:FAST:} --junitxml=test_{envname}_results.xml --cov-report xml --cov-report html --cov=passerelle/ --cov-config .coveragerc tests/}
42 42
  django111: ./pylint.sh passerelle/
43

  
44
[pytest]
45
filterwarnings = default
46
   error:.*
47
# to delete when using python3, it's a warning inside ElementTree
48
   ignore:.*tree.iter().*:PendingDeprecationWarning
49
# pyproj warning about deprecation of '+init=authority:code which comes from using Proj(init='EPSG:4326') instead of Proj('EPSG:4326')
50
# I tried the new syntax but it broke some opengis tests
51
   module:.*init.*authority.*code.*syntax is deprecated:DeprecationWarning:pyproj
52
# wcs root directory must be renamed to fix this one
53
   ignore:Not importing directory.*/wcs':ImportWarning
43
-