-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
False negative used-before-assignment
when variable is only defined in except
clause
#4761
Labels
Bug 🪲
Control flow
Requires control flow understanding
False Negative 🦋
No message is emitted but something is wrong with the code
Comments
undefined-variable
when variable is only defined in except
clauseused-before-assignment
when variable is only defined in except
clause
jacobtylerwalls
added a commit
to jacobtylerwalls/pylint
that referenced
this issue
Nov 26, 2021
…nments only take place in except blocks
jacobtylerwalls
added a commit
to jacobtylerwalls/pylint
that referenced
this issue
Nov 26, 2021
…nments only take place in except blocks
jacobtylerwalls
added a commit
to jacobtylerwalls/pylint
that referenced
this issue
Nov 26, 2021
…nments only take place in except blocks
jacobtylerwalls
added a commit
to jacobtylerwalls/pylint
that referenced
this issue
Nov 26, 2021
…nments only take place in except blocks
jacobtylerwalls
added a commit
to jacobtylerwalls/pylint
that referenced
this issue
Dec 2, 2021
…nments only take place in except blocks
jacobtylerwalls
added a commit
to jacobtylerwalls/pylint
that referenced
this issue
Dec 2, 2021
…nments only take place in except blocks
Pierre-Sassoulas
added a commit
that referenced
this issue
Dec 11, 2021
… made in except blocks (#5402) Co-authored-by: Daniël van Noord <[email protected]> Co-authored-by: Pierre Sassoulas <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Bug 🪲
Control flow
Requires control flow understanding
False Negative 🦋
No message is emitted but something is wrong with the code
Bug description
Configuration
No response
Command used
Pylint output
Expected behavior
Pylint should report
used-before-assignment
on lines 10 and 13.Pylint version
OS / Environment
No response
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: