Skip to content

New rule del-attr-with-constant #18338

Description

@janosh

Summary

new sibling for B009 (get-attr-with-constant):

# bad
delattr(cls, "_repr_mimebundle_")

# good
del cls._repr_mimebundle_

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ruleImplementing 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