Skip to content
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

--ignore-words is not working in pre-commit #3452

Closed
ZhiyuanChen opened this issue Jun 13, 2024 · 2 comments
Closed

--ignore-words is not working in pre-commit #3452

ZhiyuanChen opened this issue Jun 13, 2024 · 2 comments

Comments

@ZhiyuanChen
Copy link

I have the following .codespell-whitelist.txt file and pre-commit config

The codespell white list works perfect in Commandline with codespell --ignore-words=.codespell-whitelist.txt

But the pre-commit keeps complaining https://github.com/DLS5-Omics/multimolecule/actions/runs/9500924760/job/26185184049

@DimitriPapadopoulos
Copy link
Collaborator

DimitriPapadopoulos commented Jun 13, 2024

  1. It works for me outside pre-commit. Perhaps the concept of current directory underlying the use of --ignore-words=.codespell-whitelist.txt is not valid in pre-commit.
  2. Please change Ser into ser.

@ZhiyuanChen
Copy link
Author

  1. Please change Ser into ser.

It helped!

I some how thought code spell was case sensitive... Thank you !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants