Skip to content

Upgrade codespell version and fix misspelled words #48364

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
Sep 6, 2022

Conversation

lucasdamo
Copy link
Contributor

@MarcoGorelli MarcoGorelli self-requested a review September 2, 2022 14:54
@MarcoGorelli MarcoGorelli mentioned this pull request Sep 2, 2022
5 tasks
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 your PR - would be good to not add extra words to the ignore list, is it possible to avoid that?

@mroeschke mroeschke added the Code Style Code style, linting, code_checks label Sep 2, 2022
cls.ro = deepcopy(getattr(cls.cf, "_registered_options"))
cls._global_config = deepcopy(getattr(cls.cf, "_global_config"))
cls._deprecated_options = deepcopy(getattr(cls.cf, "_deprecated_options"))
cls._registered_options = deepcopy(getattr(cls.cf, "_registered_options"))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Needed to change cls.ro and took the liberty to do the same with the others to keep a standard

setup.cfg Outdated
@@ -178,7 +178,7 @@ exclude =
doc/source/getting_started/comparison/includes/*.rst

[codespell]
ignore-words-list = ba,blocs,coo,hist,nd,sav,ser,bu,ro,recuse,fromm
Copy link
Contributor Author

Choose a reason for hiding this comment

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

removing ba from the list didn't interfere with codespell checks

setup.cfg Outdated
@@ -178,7 +178,7 @@ exclude =
doc/source/getting_started/comparison/includes/*.rst

[codespell]
ignore-words-list = ba,blocs,coo,hist,nd,sav,ser,bu,ro,recuse,fromm
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@MarcoGorelli created a PR to CodeSpell, but for now should we keep recuse in Pandas ignore list?

@MarcoGorelli MarcoGorelli self-requested a review September 2, 2022 21:15
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.

looks good to me

@lucasdamo lucasdamo force-pushed the issue#48349CodeSpellUpgrade branch from da0d531 to 7574fc2 Compare September 3, 2022 20:46
@lucasdamo
Copy link
Contributor Author

Hey @MarcoGorelli, thanks so much for guiding me through this issue. I did a rebase to update this PR with latest commits on pandas, not sure if it was the right way. Do i have to do anything else so it gets merged?

@MarcoGorelli
Copy link
Member

that's all thanks, I'll just leave it open a bit in case others have comments

@mroeschke mroeschke added this to the 1.6 milestone Sep 6, 2022
@mroeschke mroeschke merged commit edf0fce into pandas-dev:main Sep 6, 2022
@mroeschke
Copy link
Member

Thanks @lucasdamo. Very nice

@mroeschke mroeschke modified the milestones: 1.6, 2.0 Oct 13, 2022
noatamir pushed a commit to noatamir/pandas that referenced this pull request Nov 9, 2022
* Upgrade codespell version and fix misspelled words

* Comply with PR comment's requested changes
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.

STYLE: upgrade codespell
3 participants