Pattern: 2nd argument of isinstance
is not a type
Issue: -
Emitted when the second argument of an isinstance
call is not a type.
Example of incorrect code:
isinstance({a:1}, hash) # [isinstance-second-argument-not-valid-type]
Example of correct code:
isinstance(-999, int)