This script is a spell checker for GoBGP's source codes.
-
scspell3k: Spell checker for source code written in Python.
pip install scspell3k
Just run scspell.sh
.
bash tools/spell-check/scspell.sh
Example of output:
# Format:
# path/to/file.go: <messages>
xxx/xxx.go: 'mispeld' not found in dictionary (from token 'Mispeld')
If you want to add new words to the dictionary for this spell checker, please
insert words into tools/spell-check/dictionary.txt
or
tools/spell-check/ignore.txt
.