hasgeek / funnel

Bad type operand placement PTC-W0024
Style
Minor
1 occurrence in this check
type should be on the left side of the comparision operator
288    def decorator(temp_cls: type) -> ReopenedType:
289        if temp_cls.__bases__ != (object,):
290            raise TypeError("Reopened class cannot add base classes")
291        if temp_cls.__class__ is not type:292            raise TypeError("Reopened class cannot add a metaclass")
293        if {
294            '__slots__',