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

Feature request: rule to check an argument of pathlib.Path().with_suffix #14441

Open
TheBits opened this issue Nov 18, 2024 · 0 comments
Open
Labels
needs-decision Awaiting a decision from a maintainer rule Implementing or modifying a lint rule

Comments

@TheBits
Copy link

TheBits commented Nov 18, 2024

Hi!

The argument of function pathlib.Path().with_suffix must starts with a dot. It's easy to forget if you don't use it often. Can you please add a new rule to check the argument?

Thanks!

@dylwil3 dylwil3 added rule Implementing or modifying a lint rule needs-decision Awaiting a decision from a maintainer labels Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-decision Awaiting a decision from a maintainer rule Implementing or modifying a lint rule
Projects
None yet
Development

No branches or pull requests

2 participants