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

Apparent duplicate rule (S307 and PGH001) #7283

Open
Tracked by #2714
tjkuson opened this issue Sep 11, 2023 · 2 comments
Open
Tracked by #2714

Apparent duplicate rule (S307 and PGH001) #7283

tjkuson opened this issue Sep 11, 2023 · 2 comments
Assignees
Labels
rule Implementing or modifying a lint rule

Comments

@tjkuson
Copy link
Contributor

tjkuson commented Sep 11, 2023

Rules suspicious-eval-usage (S307) and eval (PGH001) seem to do the same thing. If they are, in fact, distinct, then the difference between them should probably be explained in the documentation.

@zanieb
Copy link
Member

zanieb commented Sep 11, 2023

I can confirm these look duplicated and have separate implementations. I'm not sure what we should do about it though.

@zanieb zanieb added the needs-decision Awaiting a decision from a maintainer label Sep 11, 2023
@charliermarsh
Copy link
Member

We should remove PGH001, and add a redirect to S307 (IMO).

@charliermarsh charliermarsh added the rule Implementing or modifying a lint rule label Sep 19, 2023
@charliermarsh charliermarsh self-assigned this Sep 19, 2023
@charliermarsh charliermarsh removed the needs-decision Awaiting a decision from a maintainer label Sep 19, 2023
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 a pull request may close this issue.

3 participants