-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
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
DOC: Fixed implicit imports for whatsnew (v >= version 20.0) #24199
Conversation
Codecov Report
@@ Coverage Diff @@
## master #24199 +/- ##
==========================================
- Coverage 92.21% 92.21% -0.01%
==========================================
Files 162 162
Lines 51723 51723
==========================================
- Hits 47695 47694 -1
- Misses 4028 4029 +1
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #24199 +/- ##
==========================================
- Coverage 92.21% 92.21% -0.01%
==========================================
Files 162 162
Lines 51723 51723
==========================================
- Hits 47695 47694 -1
- Misses 4028 4029 +1
Continue to review full report at Codecov.
|
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.
Thanks @saurav2608
Can we remove these files from the exclude in setup.cfg
?
Do you mean in the PR title >=0.23.0
DOC: import datetime Co-Authored-By: saurav2608 <sauravchakravorty@gmail.com>
Not yet, These changes only fix the implicit import errors.
I have fixed (if required) all the implicit import |
In this PR I only see files Do you think it's worth to fix the |
Yes, that is correct. We don't have import *
Okay. But please merge this for now. For the rest I have not created issues yet. So, I can create an overall issues for all sorts of flake8 issues. |
@datapythonista seeing gazillion warnings in the doc build: https://travis-ci.org/pandas-dev/pandas/jobs/465964000 I don't think this PR is actually causing them, but should fix this up before any more doc fixes. |
Thanks for the heads up. Seems unrelated to the fixes we've been merging, but I'm taking a look now, I'll try to see what's wrong and send a fix asap. |
@jreback the warnings come from #23601, where Will check if fixing it is straight-forward, but I wouldn't let that stop merging the documentation PRs. CC: @TomAugspurger |
@datapythonista - are you waiting for #24134 to be merged before merging this? |
no, we like to double check what we merge, so I approved the changes, and whenever another maintainer have time to review this PR, they'll merge it if they're happy |
thanks @saurav2608 FYI don't put 'closes' in the PR header in cases like this, use xref (as github will close the referenced issue) |
* upstream/master: pct change bug issue 21200 (pandas-dev#21235) DOC: Fix summaries not ending with a period (pandas-dev#24190) DOC: Add back currentmodule to api.rst (pandas-dev#24232) DOC: Fixed implicit imports for whatsnew (v >= version 20.0) (pandas-dev#24199) remove enum import for PY2 compat, xref pandas-dev#22802 (pandas-dev#24170) CI: Simplify Azure Pipelines configuration files (pandas-dev#23111) REF/TST: Add more pytest idiom to indexing/multiindex/test_getitem.py (pandas-dev#24053)
git diff upstream/master -u -- "*.py" | flake8 --diff
This partially resolves DOC: Fix flake8 issue in whatsnew files #24177 .