Commit ea7d9f6f authored by Tim Rühsen's avatar Tim Rühsen

* contrib/spell-checker: Add script for spell checking

parent 2cd7ec97
#!/usr/bin/env sh
#
# see https://github.com/codespell-project/codespell
#
# in short:
# - pip install codespell
# - add ~/.local/bin to PATH
codespell $* -L "tim,gonna,cas" `git ls-files|egrep -v '_fuzzer.in|_fuzzer.repro|\.der$|gnulib|ChangeLog|tests/gpg|\.png$|\.dat$'`
  • Have you considered using --skip flag instead of git ls-files|egrep -v?

  • Please post a working command line proposal. I have 100+ things on my list, and the above simply does the job.

Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment