Skip to content

exclude-protected using the class name and attribute name (astroid's qname) instead of only the attribute name #7343

@Pierre-Sassoulas

Description

@Pierre-Sassoulas

Current problem

Right now only the name is taken into account. For example if we want to make os._exit permissible we'd make all x._exit permissible.

Desired solution

We use the qname instead so we can allow one off class/attr combination.

Additional context

See #6473

Metadata

Metadata

Assignees

No one assigned

    Labels

    Enhancement ✨Improvement to a componentMinor 💅Polishing pylint is always niceNeeds PRThis issue is accepted, sufficiently specified and now needs an implementation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions