-
Recently been testing an extension with Sphinx's development branch and have just stumbled upon the recent changes to the handling of warnings. While the unit testing for this extension relies on exceptions for various checks, I have no problem with updating the testing logic to utilize the recently added When trying to verify all unit tests in the extension, additional changes were needed to handle that now deprecated However, there is some logic in the non-testing side of this extension that utilizes I feel like there is still value in having/supporting a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
This is one of the reasons I'm not a massive fan of I removed Suggestions:
A |
Beta Was this translation helpful? Give feedback.
This is one of the reasons I'm not a massive fan of
-W
, you loose discretion about what category a log message is...I removed
skip_warningiserror
to reduce implementation complexity. We could restore it but I would prefer not to.Suggestions:
INFO
(HTTP 429 is sort-of fine anyway, its's not a failure)skip_warningiserror
logger.warning(..., no_exception_on_warning=True)
or a better name)A