Skip to content

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