-
-
Notifications
You must be signed in to change notification settings - Fork 19.4k
CLN: Fix mypy error in 'pandas/tests/computation/test_eval.py' #29007
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
CLN: Fix mypy error in 'pandas/tests/computation/test_eval.py' #29007
Conversation
Added explicit typing annotation for _parsers: Dict[str, Type[BaseExprVisitor]] Also added some import for Dict, Type and BaseExprVisitor
simonjayhawkins
left a comment
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.
@immaxchen Thanks for the PR. changes look good. ci failures are unrelated. see #29008
simonjayhawkins
left a comment
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.
@immaxchen can you merge master.
…est-eval-mypy-typing-error-gh28926 sync with latest upstream/master
|
Sure, thank you, Simon! |
simonjayhawkins
left a comment
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.
@immaxchen lgtm @WillAyd
|
Thanks @immaxchen |
Added explicit typing annotation for _parsers: Dict[str, Type[BaseExprVisitor]]
Also added some import for Dict, Type and BaseExprVisitor
black pandasgit diff upstream/master -u -- "*.py" | flake8 --diff