Skip to content

Implement A003, A004, A006 (flake8-builtins) #12540

@nkakouros

Description

@nkakouros

flake8-builtins has added 3 new rules since A001-003 where implemented in ruff:

  • A004: An import statement is shadowing a Python builtin.
  • A005: A module is shadowing a Python builtin module (e.g: logging or socket)
  • A006: A lambda argument is shadowing a Python builtin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomershelp wantedContributions especially welcomeruleImplementing 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