Skip to content

Conversation

yogendrasoni
Copy link
Contributor

@yogendrasoni yogendrasoni commented Oct 14, 2019

@WillAyd WillAyd added the Typing type annotations, mypy/pyright type checking label Oct 14, 2019
@WillAyd WillAyd added this to the 1.0 milestone Oct 14, 2019
@WillAyd
Copy link
Member

WillAyd commented Oct 14, 2019

lgtm @simonjayhawkins

@jjlkant
Copy link
Contributor

jjlkant commented Oct 14, 2019

Was (accidentally) also looking into this fix. However, I believe this is also the fix for:

  • pandas\tests\arrays\test_period.py
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
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

Copy link
Member

@simonjayhawkins simonjayhawkins left a 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)

Copy link
Member

@simonjayhawkins simonjayhawkins left a 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

Copy link
Member

@simonjayhawkins simonjayhawkins left a 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

@simonjayhawkins
Copy link
Member

@yogendrasoni in merging master the section in setup.cfg for pandas\tests\arrays\test_period.py was reinstated. can you remove.

Copy link
Member

@simonjayhawkins simonjayhawkins left a 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.

@simonjayhawkins simonjayhawkins merged commit 6c898e6 into pandas-dev:master Oct 21, 2019
@simonjayhawkins
Copy link
Member

Thanks @yogendrasoni

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Typing type annotations, mypy/pyright type checking
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants