useless-metaclass-type (UP001)
Added in v0.0.155 · Related issues · View source
Derived from the pyupgrade linter.
Fix is always available.
What it does
Checks for the use of __metaclass__ = type in class definitions.
Why is this bad?
Since Python 3, __metaclass__ = type is implied and can thus be omitted.
Example
Use instead: