Skip to content

(馃巵) update mypy to 0.982 - #406

Closed
KotlinIsland wants to merge 1 commit into
pandas-dev:mainfrom
KotlinIsland:bump_mypy
Closed

KotlinIsland wants to merge 1 commit into
pandas-dev:mainfrom
KotlinIsland:bump_mypy

Conversation

@KotlinIsland

@KotlinIsland KotlinIsland commented Nov 2, 2022 •

Copy link
Copy Markdown

Problems:

  • Scalar seems to be getting screwed up somehow when pd.to_numeric is called
  • Series.count has an invalid overload due to None being Hashable.
    • Perhaps we could just put a type ignore on this, the real type would be something along the lines of Hashable & Not[None], which is currently not supported.

@KotlinIsland KotlinIsland mentioned this pull request Nov 2, 2022
2 tasks
@Dr-Irv

Dr-Irv commented Nov 2, 2022

Copy link
Copy Markdown
Collaborator

@KotlinIsland please see #336 and python/mypy#13781 (comment)

We have to wait for mypy 0.990

@Dr-Irv Dr-Irv closed this Nov 2, 2022
@KotlinIsland
KotlinIsland deleted the bump_mypy branch November 10, 2022 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants