-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Improve detection of unreachable code #519
New issue
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
Comments
How about the code after |
I'm also affected by this issue |
Not going to happen too soon, so feel free to disable the check. |
Source-Link: googleapis/synthtool@69fda12 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:ae600f36b6bc972b368367b6f83a1d91ec2c82a4a116b383d67d547c56fe6de3 Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
I would argue that this is what should happen in the example code
because unless something happens in the try block, nothing else will proceed. |
@clavedeluna pylint don't understand control flow well, so we treat |
should this now be closed? I only referenced it |
Originally reported by: Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore)
Original ticket: http://www.logilab.org/ticket/8355
The text was updated successfully, but these errors were encountered: