-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Add type annotation to config_init #26300
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
Conversation
pandas/core/config_init.py
Outdated
@@ -277,7 +279,7 @@ def use_numexpr_cb(key): | |||
Valid values: False,True | |||
""" | |||
|
|||
style_backup = dict() | |||
style_backup = dict() # type: Dict |
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.
Is this variable still needed? I searched the codebase for style_backup
, and it doesn't appear anywhere else. It might be some vestigial code.
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 looks like you can remove it
Codecov Report
@@ Coverage Diff @@
## master #26300 +/- ##
==========================================
- Coverage 91.98% 91.98% -0.01%
==========================================
Files 175 175
Lines 52374 52373 -1
==========================================
- Hits 48178 48173 -5
- Misses 4196 4200 +4
Continue to review full report at Codecov.
|
lgtm. ping on green. |
@jreback The board is green |
thanks @gwrome |
git diff upstream/master -u -- "*.py" | flake8 --diff