Skip to content
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

tests/indexing/test_coercion.py typefix #28990

Merged
merged 6 commits into from
Oct 16, 2019

Conversation

lukasbk
Copy link
Contributor

@lukasbk lukasbk commented Oct 15, 2019

@simonjayhawkins simonjayhawkins added the Typing type annotations, mypy/pyright type checking label Oct 15, 2019
@simonjayhawkins simonjayhawkins added this to the 1.0 milestone Oct 15, 2019
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.

@@ -928,7 +929,7 @@ class TestReplaceSeriesCoercion(CoercionBase):
klasses = ["series"]
method = "replace"

rep = {}
rep = {} # type: Dict[str, List[Any]]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nit but can you just do List instead of List[Any]? Equivalent but I think the former is used throughout code base

@WillAyd WillAyd merged commit 9486f04 into pandas-dev:master Oct 16, 2019
@WillAyd
Copy link
Member

WillAyd commented Oct 16, 2019

Thanks @lukasbk

proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
bongolegend pushed a commit to bongolegend/pandas that referenced this pull request Jan 1, 2020
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.

3 participants