Skip to content

Fix typo in setup.cfg warning configuration#966

Merged
pganssle merged 1 commit into
dateutil:masterfrom
pganssle:pending_deprecation_warning
Oct 4, 2019
Merged

Fix typo in setup.cfg warning configuration#966
pganssle merged 1 commit into
dateutil:masterfrom
pganssle:pending_deprecation_warning

Conversation

@pganssle

@pganssle pganssle commented Oct 4, 2019

Copy link
Copy Markdown
Member

Summary of changes

It appears that we were relying on the "errors" filter to treat PendingDeprecationWarning as an error due to a typo in setup.cfg. This line is apparently redundant with the "error" line anyway, but it's best to have a working version of it if we're going to have it at all. I am leaving it in place to be explicit that even these "ignored by default" warnings should be errors, in case a default changes later.

Pull Request Checklist

@jbrockmendel

Copy link
Copy Markdown
Contributor

LGTM

It appears that we were relying on the "errors" filter to treat
PendingDeprecationWarning as an error due to a typo in setup.cfg. This
line is apparently redundant with the "error" line anyway, but it's best
to have a working version of it if we're going to have it at all. I am
leaving it in place to be explicit that even these "ignored by default"
warnings should be errors, in case a default changes later.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants