Extend comparison-with-callable
to types
#10364
Labels
Enhancement ✨
Improvement to a component
False Negative 🦋
No message is emitted but something is wrong with the code
Refs #7724, for
def a_func
anddef b_func
we already lint fora_func == b_func
as inferior toa_func is b_func
, but we should do this for classes as well, e.g.type(x) == list
should be inferior totype(x) is list
.More discussion at #10161 (comment).
The text was updated successfully, but these errors were encountered: