-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
cleanup unused imports, constants #18119
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
@jbrockmendel : Minor Also, I agree with you. Dependencies, what can I say? 😄 |
rebase |
Codecov Report
@@ Coverage Diff @@
## master #18119 +/- ##
==========================================
+ Coverage 91.25% 91.26% +<.01%
==========================================
Files 163 163
Lines 50124 50124
==========================================
+ Hits 45742 45745 +3
+ Misses 4382 4379 -3
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #18119 +/- ##
==========================================
- Coverage 91.28% 91.23% -0.05%
==========================================
Files 163 163
Lines 50122 50122
==========================================
- Hits 45752 45731 -21
- Misses 4370 4391 +21
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.
just a question
import tslib | ||
from tslib import NaT, Timestamp, Timedelta | ||
import interval | ||
from tslib import NaT, Timestamp, Timedelta, array_to_datetime |
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 dont' really like this but i guess its how it is currently. this is a python level dep between lib and tslib.
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.
Timestamp and Timedelta aren't used in lib. A couple of modules use lib.Timestamp
instead of tslib.Timestamp
. The NaT dependency could be imported directly from tslibs.nattype. array_to_datetime... not really any good options.
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, just mentioning it
thanks! |
git diff upstream/master -u -- "*.py" | flake8 --diff