You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is the addition of a config file for a pre-commit hook something that you think the dev team would be open to? If so, is there a location other than the top lev
8EF9
el of the repo that would be a more appropriate location? Maybe the ci/ dir?
If the reason for all the words in the codespell-ignore-words.txt file is documented in the commit message do you think that would be sufficient? Or would people want to know exactly why these words are in this file by reading another file? It isn't possible to comment the codespell-ignore-words.txt with motivations for additions and have it still function.
Summary
In PR #22733 @QuLogic caught a spelling error of mine (which is great!) but there will inevitably be typos that slip through if only humans are checking. https://github.com/codespell-project/codespell is a really nice way to check for typos and it has a nice pre-commit hook. As Matplotlib already uses pre-commit 🚀 (thanks to @ianhi in PR #21583) this would be an easy add. 👍
Proposed fix
Add the following hook (maybe some variations) to
.pre-commit-config.yaml
The text was updated successfully, but these errors were encountered: