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

spell check hook should use pre-commit/identify instead of length exclude: key #357

Open
lorenzwalthert opened this issue Dec 21, 2021 · 1 comment

Comments

@lorenzwalthert
Copy link
Owner

lorenzwalthert commented Dec 21, 2021

Just text files that are not R or Python source files, probably that's all we want. https://pre-commit.com/#filtering-files-with-types.
Or just recommend other spell checkers like https://github.com/codespell-project/codespell

@mpadge
Copy link
Contributor

mpadge commented Jul 6, 2022

Related to this: It would also be useful to have the spell check hook respect the "Language" field in the DESCRIPTION file, where that is given. I've not look at how the hook actually works, so not sure whether this is possible, but as a non-US English speaker, i'm always annoyed at the default reversion to US English spelling.

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

No branches or pull requests

2 participants