Add isinstance
in if
condition check as a special case
#1990
Labels
Control flow
Requires control flow understanding
Milestone
Steps to reproduce
pylint
on this file.Current behavior
I is showing Error in line: 7 which should not be an error.
Expected behavior
It should not show Error in line-7 as I am already checking if
err
is an instance ofsubprocess.CalledProcessError
which has memberreturncode
.pylint --version output
The text was updated successfully, but these errors were encountered: