We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
unidiomatic-typecheck
The spirit of unidiomatic-typecheck is to flag unidiomatic typechecks.
This is unidiomatic:
type(x) is type(y)
It should be one of:
isinstance(x, type(y)) issubclass(type(x), type(y))