-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
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
Upgrade codespell version and fix misspelled words #48364
Conversation
lucasdamo
commented
Sep 2, 2022
- closes STYLE: upgrade codespell #48349
There was a problem hiding this 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?
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")) |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
da0d531
to
7574fc2
Compare
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? |
that's all thanks, I'll just leave it open a bit in case others have comments |
Thanks @lucasdamo. Very nice |
* Upgrade codespell version and fix misspelled words * Comply with PR comment's requested changes