2018-11-30 20:40:55 -05:00
|
|
|
# This file isn't used while testing packages in tools/_release.sh so any
|
|
|
|
|
# settings we want to also change there must be added to the release script
|
|
|
|
|
# directly.
|
2018-07-11 20:25:48 -04:00
|
|
|
[pytest]
|
2019-01-17 16:02:35 -05:00
|
|
|
# In general, all warnings are treated as errors. Here are the exceptions:
|
|
|
|
|
# 1- decodestring: https://github.com/rthalley/dnspython/issues/338
|
2020-12-08 15:19:42 -05:00
|
|
|
# 2- Python 2 deprecation: https://github.com/certbot/certbot/issues/8388
|
|
|
|
|
# (to be removed with Certbot 1.12.0 and its drop of Python 2 support)
|
2020-05-04 19:54:09 -04:00
|
|
|
# Warnings being triggered by our plugins using deprecated features in
|
|
|
|
|
# acme/certbot should be fixed by having our plugins no longer using the
|
|
|
|
|
# deprecated code rather than adding them to the list of ignored warnings here.
|
|
|
|
|
# Fixing things in this way prevents us from shipping packages raising our own
|
|
|
|
|
# deprecation warnings and gives time for plugins that don't use the deprecated
|
|
|
|
|
# API to propagate, especially for plugins packaged as an external snap, before
|
|
|
|
|
# we release breaking changes.
|
2018-10-30 20:13:40 -04:00
|
|
|
filterwarnings =
|
2018-10-30 20:24:29 -04:00
|
|
|
error
|
2018-11-05 20:41:26 -05:00
|
|
|
ignore:decodestring:DeprecationWarning
|
2020-12-08 15:19:42 -05:00
|
|
|
ignore:Python 2 support will be dropped:PendingDeprecationWarning
|