Skip to content

CI/CLN: Lint more class references in tests #37401

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 8 commits into from
Oct 30, 2020
Merged

CI/CLN: Lint more class references in tests #37401

merged 8 commits into from
Oct 30, 2020

Conversation

dsaxton
Copy link
Member

@dsaxton dsaxton commented Oct 25, 2020

No description provided.

@dsaxton dsaxton added CI Continuous Integration Code Style Code style, linting, code_checks labels Oct 25, 2020
@dsaxton dsaxton changed the title CI/CLN: Lint MultiIndex in tests CI/CLN: Lint more class references in tests Oct 25, 2020
@jbrockmendel
Copy link
Member

I take it this is a get-it-all-done-at once PR?

@dsaxton
Copy link
Member Author

dsaxton commented Oct 27, 2020

I take it this is a get-it-all-done-at once PR?

It started out as just MultiIndex, then I may have gotten a bit carried away

@jbrockmendel
Copy link
Member

needs rebase

Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

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

ok will have to merge this right after you rebase to avoid conflicts

@@ -146,7 +146,7 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then
RET=$(($RET + $?)) ; echo $MSG "DONE"

MSG='Check for inconsistent use of pandas namespace in tests' ; echo $MSG
for class in "Series" "DataFrame" "Index"; do
for class in "Series" "DataFrame" "Index" "MultiIndex" "Timestamp" "Timedelta" "TimedeltaIndex" "DatetimeIndex" "Categorical"; do
Copy link
Contributor

Choose a reason for hiding this comment

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

didn't we move these to pre-commit?

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't think that's been done yet but @MarcoGorelli seemed to think it was doable

Copy link
Member

Choose a reason for hiding this comment

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

On my to-do list 😇 I hope to get round to it next week

@dsaxton
Copy link
Member Author

dsaxton commented Oct 30, 2020

@jreback This is rebased and almost green if we want to merge and avoid more conflicts

@jreback jreback merged commit 22799d7 into pandas-dev:master Oct 30, 2020
@jreback
Copy link
Contributor

jreback commented Oct 30, 2020

thanks @dsaxton

@dsaxton dsaxton deleted the multiindex-test-lint branch October 31, 2020 00:42
kesmit13 pushed a commit to kesmit13/pandas that referenced this pull request Nov 2, 2020
* CI/CLN: Lint MultiIndex in tests

* CI/CLN: Lint Timestamp in tests

* Lint

* Categorical

* Fix
ukarroum pushed a commit to ukarroum/pandas that referenced this pull request Nov 2, 2020
* CI/CLN: Lint MultiIndex in tests

* CI/CLN: Lint Timestamp in tests

* Lint

* Categorical

* Fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration Code Style Code style, linting, code_checks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants