Projet

Général

Profil

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

Benjamin Dauvergne, 19 novembre 2019 14:47

Télécharger (1,46 ko)

Voir les différences:

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

 tox.ini | 15 +++++++++++++++
 1 file changed, 15 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 migration to new style MIDDLEWARE is done
48
   ignore:Old-style:django.utils.deprecation.RemovedInDjango20Warning:django
49
# to delete when using python3, it's a warning inside ElementTree
50
   ignore:.*tree.iter().*:PendingDeprecationWarning
51
# to delete when migrating the login view to CBV
52
   ignore:.*class-based.*LoginView():django.utils.deprecation.RemovedInDjango21Warning
53
# pyproj warning about deprecation of '+init=authority:code which comes from using Proj(init='EPSG:4326') instead of Proj('EPSG:4326')
54
# I tried the new syntax but it broke some opengis tests
55
   ignore:.*init.*authority.*code.*syntax is deprecated:DeprecationWarning:pyproj
56
# wcs root directory must be renamed to fix this one
57
   ignore:Not importing directory.*/wcs':ImportWarning
43
-