Open bobleesj opened 2 hours ago
The hook doesn't fix those spelling. It suggests for alternatives - like flake8 errors. We can also ignore certain lines and words based configured for each packages using .txt
files
src/coordination/filter.py:45: ther ==> there, their, the, other
``
One of the release checklists is to ensure typos, would you like to have a pre-commit hook for spelling check? I've used for JOSS submission and it works well:
Usage (Terminal outputs)
Reference
Codespell: https://github.com/codespell-project/codespell (1k stars)
Usage in
.pre-commit-config.yaml