-
-
Notifications
You must be signed in to change notification settings - Fork 18.3k
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
fix #28926 mypy error in pandas\tests\arrays\test_array.py #28970
Conversation
lgtm @simonjayhawkins |
Was (accidentally) also looking into this fix. However, I believe this is also the fix for:
pandas\tests\arrays\test_period.py:245: error: Argument "freq" to "period_array" has incompatible type "str"; expected "Optional[Tick]"
pandas\tests\test_base.py:1312: error: Argument "freq" to "period_array" has incompatible type "str"; expected "Optional[Tick]"
pandas\tests\test_base.py:1354: error: Argument "freq" to "period_array" has incompatible type "str"; expected "Optional[Tick]" This implies the entries for both of these files should also be removed from setup.cfg |
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.
@yogendrasoni lgtm. can you also remove the sections in setup.cfg for pandas\tests\arrays\test_period.py and pandas\tests\test_base.py see #28970 (comment)
…py and pandas\tests\test_base.py
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.
@yogendrasoni Thanks for making those changes. ci failures are unrelated. see #29008
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.
@yogendrasoni can you merge master
@yogendrasoni in merging master the section in setup.cfg for pandas\tests\arrays\test_period.py was reinstated. can you remove. |
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.
@yogendrasoni lgtm ping on green.
Thanks @yogendrasoni |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff