Skip to content

STYLE: Extending codespell to pandas/tests Part 2 #40332

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 2 commits into from
Mar 10, 2021

Conversation

01-vyom
Copy link
Contributor

@01-vyom 01-vyom commented Mar 9, 2021

@@ -433,13 +433,13 @@ def test_setitem_intervals(self):
assert is_categorical_dtype(df["D"].dtype)
assert is_interval_dtype(df["D"].cat.categories)

# Thes goes through the Series constructor and so get inferred back
# These goes through the Series constructor and so get inferred back
Copy link
Member

Choose a reason for hiding this comment

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

"These go" most likely?

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.

lgtm ex @dsaxton comment

@jreback jreback added the Docs label Mar 9, 2021
@jreback
Copy link
Contributor

jreback commented Mar 9, 2021

doesn't this have to turn on this in the codespell config? (or is this a precursor)

@jreback jreback added Code Style Code style, linting, code_checks and removed Docs labels Mar 9, 2021
@01-vyom
Copy link
Contributor Author

01-vyom commented Mar 10, 2021

doesn't this have to turn on this in the codespell config? (or is this a precursor)

Yes @jreback, by removing the exclude from the codespell config, we get 68 file changes so we decided to split those changes into 3 PRs and include the codespell config change in the final PR in-order to pass the pre-commit for all the PRs.

More Info here: #40320

@01-vyom
Copy link
Contributor Author

01-vyom commented Mar 10, 2021

Made all the necessary changes.

@MarcoGorelli MarcoGorelli added this to the 1.3 milestone Mar 10, 2021
@MarcoGorelli
Copy link
Member

Thanks @01-vyom !

@MarcoGorelli MarcoGorelli merged commit 9903a54 into pandas-dev:master Mar 10, 2021
@01-vyom 01-vyom deleted the pandas-codespell-part2-38802 branch March 10, 2021 10:18
jbrockmendel pushed a commit to jbrockmendel/pandas that referenced this pull request Mar 11, 2021
* STYLE: Extending codespell to pandas/tests part 2

* DOC: small change in test_setitem.py
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.

4 participants