-
-
Notifications
You must be signed in to change notification settings - Fork 276
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
Improve typing of builtins brain #2214
Improve typing of builtins brain #2214
Conversation
Resolves 14 mypy errors
0c0d473
to
5a84c69
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2214 +/- ##
=======================================
Coverage 92.71% 92.72%
=======================================
Files 94 94
Lines 10837 10848 +11
=======================================
+ Hits 10048 10059 +11
Misses 789 789
Flags with carried forward coverage won't be shown. Click here to find out more.
|
69fb332
to
3e39101
Compare
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.
LGTM.. Let's wait for Daniel's review though ;)
def _unpack_keywords(self, keywords, context: InferenceContext | None = None): | ||
def _unpack_keywords( | ||
self, | ||
keywords: list[tuple[str | None, nodes.NodeNG]], |
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 feel like b72eaa7 might have typed arg
incorrectly. Will investigate this myself.
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.
Turns out to be correct, weirdly enough..
Type of Changes
Description
Improve typing of this brain module.
Resolves 14 mypy errors.