-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
CLN/INT: Rename _possibly to _maybe (GH15764) #15771
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/INT: Rename _possibly to _maybe (GH15764) #15771
Conversation
Also rename "private" functions in pandas.type.cast Closes pandas-dev#15764
thanks @StanczakDominik exactly what I was looking. ping on green. (hopefully linting passes too!). |
couple of linting errors.
|
Codecov Report
@@ Coverage Diff @@
## master #15771 +/- ##
==========================================
- Coverage 91.01% 91% -0.02%
==========================================
Files 143 143
Lines 49377 49403 +26
==========================================
+ Hits 44941 44958 +17
- Misses 4436 4445 +9
Continue to review full report at Codecov.
|
from pandas.types.dtypes import (CategoricalDtype, | ||
DatetimeTZDtype, PeriodDtype) | ||
from pandas.util import testing as tm | ||
|
||
|
||
class TestPossiblyDowncast(tm.TestCase): | ||
class TestMaybeDowncast(tm.TestCase): |
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 wasn't quite sure whether or not I should change the name of this class. It seemed logical as it seemed to refer to the "private" method I had changed.
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.
yes that is fine
Well, I guess I must have missed them somehow. I'm not entirely sure why Codecov claims this would decrease coverage. It might be related to my comment above. By the way, as this is my first foray into giving back to the awesome packages in the Python ecosystem, I'm not entirely sure if my thinking is correct: once test pass, I should squish my commits into one for inclusion in master, right? |
no worries @StanczakDominik for future reference: http://pandas-docs.github.io/pandas-docs-travis/contributing.html#python-pep8 |
thanks @StanczakDominik |
Also rename "private" functions in pandas.type.cast closes pandas-dev#15764 Author: Dominik Stanczak <[email protected]> Closes pandas-dev#15771 from StanczakDominik/rename-possibly and squashes the following commits: 486b932 [Dominik Stanczak] Cleanup missed linting errors 188c48b [Dominik Stanczak] CLN/INT: Rename _possibly to _maybe
Also rename "private" functions in pandas.type.cast
git diff upstream/master --name-only -- '*.py' | flake8 --diff