-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Clean up tests that had min_pyver=3.8 test setting #8811
Clean up tests that had min_pyver=3.8 test setting #8811
Conversation
- Fix ``used-before-assignment`` for functions/classes defined in type checking guard. | ||
|
||
Closes #7368 (`#7368 <https://github.com/pylint-dev/pylint/issues/7368>`_) |
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.
Other cleanup 1: this was given twice, see above under 2.15.2.
or not isinstance(node.args[0], nodes.Name) | ||
or not isinstance(node.args[1], nodes.Name) | ||
or node_frame_class(node) is None | ||
# TODO: PY38: Use walrus operator, this will also fix the mypy issue |
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.
Other cleanup 2: resolve this TODO
Follow-up to 0754b1d.
e7bc294
to
90459ef
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #8811 +/- ##
=======================================
Coverage 95.89% 95.89%
=======================================
Files 173 173
Lines 18510 18511 +1
=======================================
+ Hits 17750 17751 +1
Misses 760 760
|
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.
Look great already ! Shouldn't we add py-version instead of removing rc file when the py-version is not already set ?
Need a rebase for the primer to work ? |
π€ According to the primer, this change has no effect on the checked open source code. π€π This comment was generated for commit 90459ef |
Type of Changes
Description
Follow-up to #8792.
Closes #6306