-
Notifications
You must be signed in to change notification settings - Fork 466
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
codespell complains about its ignore-words-list
in pyproject.toml
#3248
Comments
Yes, you're only skipping tests/* so codespell is finding typos in pyproject.toml. Just add it to the skip list if you'd like it to skip checking that file. |
yes, that is what I did, but how about if do want to check for typos in pyproject.toml just exclude the definition for codespell... this sounds like is complaining about typos which I told him they are allowed which is strange |
I believe that's because the ignore list is incorrect. Try:
instead of:
Does it work any better? See #3210 for an in-depth explanation. |
Oops, well spotted @DimitriPapadopoulos ! Of course if the word was correctly in the list, it wouldn't trigger in any file. |
Ohh, cases... yes, that works, which brings me to another tricky part; for example, for "Manuel" with a capital |
Not sure if I am doing something wrong but found it confusing that Codepell is complaining about words from its own configuration...
Running pre-commit with
and having pyproject config
and getting the following error:
found it while working on this PR: PyGithub/PyGithub#2858
The text was updated successfully, but these errors were encountered: