Skip to content

STYLE: fix pylint redefined-outer-name warnings (#49656) #49662

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 3 commits into from
Nov 13, 2022

Conversation

grtcoder
Copy link
Contributor

@grtcoder grtcoder commented Nov 12, 2022

Fixed warnings for the following files :-

  • pandas/core/arrays/datetimelike.py

  • pandas/core/base.py

  • pandas/core/computation/pytables.py

  • Tests added and passed if fixing a bug or adding a new feature

  • All code checks passed.

  • Added type annotations to new arguments/methods/functions.

  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

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 for working on this!

@grtcoder grtcoder force-pushed the enable_pylint branch 2 times, most recently from a5eea36 to 1ec48f4 Compare November 13, 2022 00:10
Fixed warnings for the following files :-
- pandas/core/arrays/datetimelike.py
- pandas/core/base.py
- pandas/core/computation/pytables.py
@grtcoder
Copy link
Contributor Author

I have amended the commit in the base branch. Is that usually the workflow, or do people prefer separate commits for iterations?

@grtcoder grtcoder marked this pull request as draft November 13, 2022 00:39
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.

adding commit to the same PR is the preferred approach

grtcoder and others added 2 commits November 13, 2022 14:28
Fixed warnings for the following files :-
 - pandas/core/arrays/datetimelike.py
 - pandas/core/base.py
 - pandas/core/computation/pytables.py
Iteration :- 2
@grtcoder grtcoder marked this pull request as ready for review November 13, 2022 09:02
@MarcoGorelli MarcoGorelli added the Code Style Code style, linting, code_checks label Nov 13, 2022
@MarcoGorelli MarcoGorelli added this to the 2.0 milestone Nov 13, 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 @grtcoder

@MarcoGorelli MarcoGorelli merged commit e7b044c into pandas-dev:main Nov 13, 2022
mliu08 pushed a commit to mliu08/pandas that referenced this pull request Nov 27, 2022
…andas-dev#49662)

* STYLE: fix pylint redefined-outer-name warnings (pandas-dev#49656)

Fixed warnings for the following files :-
- pandas/core/arrays/datetimelike.py
- pandas/core/base.py
- pandas/core/computation/pytables.py

* STYLE: fix pylint redefined-outer-name warnings (pandas-dev#49656)

Fixed warnings for the following files :-
 - pandas/core/arrays/datetimelike.py
 - pandas/core/base.py
 - pandas/core/computation/pytables.py
Iteration :- 2
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