-
-
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
Regression fix for unused-variable
false negative
#8684
Conversation
for more information, see https://pre-commit.ci
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #8684 +/- ##
=======================================
Coverage 95.80% 95.80%
=======================================
Files 172 172
Lines 18300 18302 +2
=======================================
+ Hits 17533 17535 +2
Misses 767 767
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thank you for contributing a fix before 3.0 was released!
π€ According to the primer, this change has no effect on the checked open source code. π€π This comment was generated for commit 3bc94ee |
Type of Changes
Description
This is a fix for a false negative regression caused by #8441. The issue lies in
_defines_name_raises_or_returns()
, which returns false even when an exception variable defines the given name.Closes #8595