Skip to content

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

@TheBits

Description

@TheBits

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-decisionAwaiting a decision from a maintainerruleImplementing or modifying a lint rule

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions