-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
ruleImplementing or modifying a lint ruleImplementing or modifying a lint rule
Description
Summary
type is the default metaclass and adding metaclass=type is usually redundant.
Example in python/typeshed#14150. This is similar to https://docs.astral.sh/ruff/rules/useless-object-inheritance/ about inheriting from object.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ruleImplementing or modifying a lint ruleImplementing or modifying a lint rule