-
-
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
Use UninferableBase
instead of Uninferable
#8384
Conversation
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.
I thought UninferableBase was for typing purpose only ? I like the is Uninferable
a lot, it's pretty pythonic imo.
We made a similar change in The |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #8384 +/- ##
=======================================
Coverage 95.57% 95.57%
=======================================
Files 178 178
Lines 18763 18764 +1
=======================================
+ Hits 17932 17934 +2
+ Misses 831 830 -1
|
This comment has been minimized.
This comment has been minimized.
if Uninferable in (assignees, values): | ||
if any(isinstance(n, UninferableBase) for n in (assignees, values)): |
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.
Unrelated to this PR, but this looks fishy. Why would Uninferable be in a tuple of lists? π€
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.
Yeah.. I guess elts
is Uninferable
sometimes? Or this is just 100% broken..
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.
Would you mind opening a follow up issue to investigate?
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.
π But blocked by #8387 I guess.
3bf0c78
π€ Effect of this PR on checked open source code: π€ Effect on music21:
Effect on sentry:
This comment was generated for commit 3bf0c78 |
Type of Changes
Description
Blocked on the new
astroid
release.