# 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. [pytest] # In general, all warnings are treated as errors. Here are the exceptions: # 1- decodestring: https://github.com/rthalley/dnspython/issues/338 # 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. filterwarnings = error ignore:decodestring:DeprecationWarning