Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate PGH002 in favor of G010 #7507

Closed
wants to merge 1 commit into from

Conversation

charliermarsh
Copy link
Member

Summary

These rules are identical. flake8-logging-format is the more popular and more well-defined category, so we remove PGH002 and add a redirect to G010. (By adding the redirect, we ensure that users see a warning but not an error when they reference PGH002 in their configuration or in a # noqa, and that those codes seamlessly redirect to G010.)

Part of #7502.

@charliermarsh charliermarsh added the rule Implementing or modifying a lint rule label Sep 19, 2023
@MichaReiser
Copy link
Member

Is this a breaking change? What should we note down in the changelog?

@zanieb
Copy link
Member

zanieb commented Nov 30, 2023

Related discussion re breaking change at #7506

@zanieb
Copy link
Member

zanieb commented Nov 30, 2023

Closing in favor of #8931

@zanieb zanieb closed this Nov 30, 2023
zanieb added a commit that referenced this pull request Feb 1, 2024
Follow-up to #9754 and #9689. Alternative to #9714.
Replaces #7506 and #7507
Same ideas as #9755
Part of #8931
zanieb added a commit that referenced this pull request Feb 1, 2024
Follow-up to #9754 and #9689. Alternative to #9714.
Replaces #7506 and #7507
Same ideas as #9755
Part of #8931
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rule Implementing or modifying a lint rule
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants