Skip to content

PLR1704 issued for _ variable #12157

@ktbarrett

Description

@ktbarrett

I'm not sure what pylint does, but the variable _ is idiomatically used as a "don't care" variable (in fact unused variables that aren't _ trigger a different warning) and the error PLR1704 being issued for it I consider to be flying in the face of idiomatic code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomersruleImplementing 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