We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The below code is flagged with SIM111, but if I would would use the suggested code, the call_method call would be lost.
call_method
for a in my_list: if a == 2: return False call_method() return True
The text was updated successfully, but these errors were encountered:
SIM111: Fix false-positive
d909edd
Closes #62
SIM111: Fix false-positive (#124)
0fdfffa
Sorry that this took so long. I'll make a release with this fix today 🤞
Sorry, something went wrong.
216afdc
MartinThoma
Successfully merging a pull request may close this issue.
Desired change
Explanation
The below code is flagged with SIM111, but if I would would use the suggested code, the
call_method
call would be lost.Example
The text was updated successfully, but these errors were encountered: