Skip to content

Conversation

@simonjayhawkins
Copy link
Member

errors reported by mypy 0.730 on master.

pandas\compat\pickle_compat.py:71: error: Incompatible return type for "__new__" (returns "Series", but must return a subtype of "_LoadSparseSeries")
pandas\compat\pickle_compat.py:85: error: Incompatible return type for "__new__" (returns "DataFrame", but must return a subtype of "_LoadSparseFrame")

probably makes sense to apply these changes now to avoid ci breakage on mypy bump.

@simonjayhawkins simonjayhawkins added the Typing type annotations, mypy/pyright type checking label Oct 10, 2019
@jreback jreback added this to the 1.0 milestone Oct 11, 2019
@jreback jreback merged commit e1e51df into pandas-dev:master Oct 11, 2019
@jreback
Copy link
Contributor

jreback commented Oct 11, 2019

thanks @simonjayhawkins

@simonjayhawkins simonjayhawkins deleted the pickle_compat branch October 11, 2019 13:44
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.

2 participants