You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fail CI on encountering deprecation warnings (#404)
Because we run flake8 via a subprocess in our test suite, pytest can't
detect any DeprecationWarnings emitted while the plugin is being run.
Instead, use Python's warnings filter to have all warnings encountered
in the subprocess be printed to stderr. This will cause tests to fail with
a nice diff if any deprecation warnings are encountered in the
subprocess.
Closes#392
0 commit comments