Skip to content

TYP: add type annotation to _xlwt.py #36024 #36025

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
Sep 1, 2020

Conversation

fangchenli
Copy link
Member

@fangchenli fangchenli commented Sep 1, 2020

pandas\io\excel_xlwt.py:52: error: Need type annotation for 'style_dict' (hint: "style_dict: Dict[, ] = ...") [var-annotated]

@fangchenli fangchenli changed the title TYP: add type annotation #36024 TYP: add type annotation to _xlwt.py #36024 Sep 1, 2020
@simonjayhawkins simonjayhawkins added the Typing type annotations, mypy/pyright type checking label Sep 1, 2020
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.

Thanks @VirosaLi for the PR.

If you can add the mypy errors that the PR is addressing in the OP, generally helps reviewers. (Also don't need to open issues for these)

@simonjayhawkins simonjayhawkins added this to the 1.2 milestone Sep 1, 2020
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.

Thanks @VirosaLi lgtm

@WillAyd WillAyd merged commit e6ebb5c into pandas-dev:master Sep 1, 2020
@WillAyd
Copy link
Member

WillAyd commented Sep 1, 2020

Thanks @VirosaLi

@fangchenli fangchenli deleted the type-xlwt branch September 2, 2020 01:06
kesmit13 pushed a commit to kesmit13/pandas that referenced this pull request Nov 2, 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.

TYP: add type annotation to _xlwt.py
3 participants