Skip to content

TYP: remove mypy ignore[assignment] from pandas/core/methods/to_dict.py #53159

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

Closed

Conversation

natmokval
Copy link
Contributor

Related to #37715
mypy ignore[assignment] was removed from pandas/core/methods/to_dict.py

@natmokval natmokval marked this pull request as ready for review May 9, 2023 22:30
@natmokval
Copy link
Contributor Author

Hi @jbrockmendel, could you please take a look at this pr?

@jbrockmendel
Copy link
Member

theres nothing wrong here, but @simonjayhawkins has made a pretty good argument that we don't want to alter code to satisfy mypy. maybe he can comment on an alternative

@natmokval
Copy link
Contributor Author

theres nothing wrong here, but @simonjayhawkins has made a pretty good argument that we don't want to alter code to satisfy mypy. maybe he can comment on an alternative

Thank you, @jbrockmendel, it sounds reasonable.

@mroeschke mroeschke added the Typing type annotations, mypy/pyright type checking label May 11, 2023
@natmokval natmokval closed this May 25, 2023
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