Skip to content

TYP: some types for pandas/io/formats/csvs.py #30000

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

Conversation

simonjayhawkins
Copy link
Member

broken off #28339

@simonjayhawkins simonjayhawkins added the Typing type annotations, mypy/pyright type checking label Dec 3, 2019
@@ -187,7 +188,7 @@ def save(self):
close = True

try:
writer_kwargs = dict(
kwargs: Dict[str, Any] = dict(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why the rename? ive recently been finding more-specific names for kwargs useful when tracking down less-specific usages

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no reason other than for consistency of variable names. will revert tomorrow.

@jreback jreback added this to the 1.1 milestone Dec 3, 2019
@WillAyd WillAyd modified the milestones: 1.1, 1.0 Dec 4, 2019
Copy link
Member

@WillAyd WillAyd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jbrockmendel
Copy link
Member

LGTM; CI failures are unrelated

@simonjayhawkins
Copy link
Member Author

rebased + green

@jreback jreback merged commit 308e1cb into pandas-dev:master Dec 5, 2019
@jreback
Copy link
Contributor

jreback commented Dec 5, 2019

thanks @simonjayhawkins

@simonjayhawkins simonjayhawkins deleted the pandas/io/formats/csvs.py branch December 5, 2019 15:54
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
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.

4 participants