Skip to content

STYLE: Fix redefined-outer-name linting issue #49687

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 4 commits into from
Nov 14, 2022

Conversation

isaac-chung
Copy link
Contributor

@isaac-chung isaac-chung commented Nov 13, 2022

Part of the fix for #49656

@isaac-chung isaac-chung changed the title STYLE: Fixed redefined-outer-name linting issue STYLE: Fix redefined-outer-name linting issue Nov 13, 2022
@MarcoGorelli
Copy link
Member

MarcoGorelli commented Nov 14, 2022

Looks pretty good, you'll probably also need to change

xp = converter.dates.date2num(Timestamp("2012-1-1 01:02:03", tz="UTC"))

to converter.mdates (and elsewhere in that file)

@isaac-chung
Copy link
Contributor Author

Done, thanks for the quick review!

@MarcoGorelli
Copy link
Member

🤔 not sure why one CI job has failed - I've restarted it as it looks unrelated

@isaac-chung
Copy link
Contributor Author

Thanks, all green now! 😄

@MarcoGorelli MarcoGorelli added the Code Style Code style, linting, code_checks label Nov 14, 2022
@MarcoGorelli MarcoGorelli added this to the 2.0 milestone Nov 14, 2022
Copy link
Member

@MarcoGorelli MarcoGorelli left a comment

Choose a reason for hiding this comment

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

Thanks @isaac-chung !

@MarcoGorelli MarcoGorelli merged commit 9daf62f into pandas-dev:main Nov 14, 2022
MarcoGorelli pushed a commit to MarcoGorelli/pandas that referenced this pull request Nov 18, 2022
* fixed linting issue in _matplotlib

* run precommit

* fix attribute error

* fix references in test file
mliu08 pushed a commit to mliu08/pandas that referenced this pull request Nov 27, 2022
* fixed linting issue in _matplotlib

* run precommit

* fix attribute error

* fix references in test file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Style Code style, linting, code_checks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants