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
|
|
|
|
|
# 2- ignore our own TLS-SNI-01 warning
|
|
|
|
|
# 3- ignore warn for importing abstract classes from collections instead of collections.abc,
|
|
|
|
|
# too much third party dependencies are still relying on this behavior,
|
|
|
|
|
# but it should be corrected to allow Certbot compatiblity with Python >= 3.8
|
2019-01-30 16:59:07 -05:00
|
|
|
# 4- ipdb uses deprecated functionality of IPython. See
|
|
|
|
|
# https://github.com/gotcha/ipdb/issues/144.
|
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
|
2019-01-17 16:02:35 -05:00
|
|
|
ignore:.*collections\.abc:DeprecationWarning
|
2019-01-30 16:59:07 -05:00
|
|
|
ignore:The `color_scheme` argument is deprecated:DeprecationWarning:IPython.*
|
2019-11-01 13:51:21 -04:00
|
|
|
ignore:.*get_systemd_os_info:DeprecationWarning
|