Skip to content

TYP, CLN annotate some variables, remove some possibly unused ones #39466

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

Merged
merged 2 commits into from
Feb 11, 2021

Conversation

MarcoGorelli
Copy link
Member

  • Ensure all linting tests pass, see here for how to run them

The mypy daemon throws some extra var-annotated errors compared with mypy pandas, so I've tried fixing some. Some of the variables it complains about seem to be unused (ExcelWriter.curr_sheet and NDFrame._ix) - are these safe to remove?

@jreback jreback added the Typing type annotations, mypy/pyright type checking label Jan 30, 2021
@jreback jreback added this to the 1.3 milestone Jan 30, 2021
@jreback
Copy link
Contributor

jreback commented Jan 30, 2021

looks fine. cc @simonjayhawkins

@jreback
Copy link
Contributor

jreback commented Feb 11, 2021

can you merge master

@jreback jreback merged commit bd8f881 into pandas-dev:master Feb 11, 2021
@jreback
Copy link
Contributor

jreback commented Feb 11, 2021

thanks @MarcoGorelli

@MarcoGorelli MarcoGorelli deleted the dmypy-errors branch February 11, 2021 14:29
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