typos-git-commit
is a command line tool that processes a typos
generated json file to :
It has been written for a one shot project but one may find it to be useful.
You can use the option --noop
to print what will be executed.
If you need to have a summary of all typos you can use --only-list-typos
option. You can add some details to this summary with --details
option.
typos
, for instance:
typos doc/ --exclude *.py --exclude *.js --format json >typos.json
typos-git-commit
:
typos-git-commit --filename typos.json
.
This command will correct only typos with more than 5 (by default)
characters and the ones that got only one correction proposal. To
modify the minimum length one may use --minlen
or -m
option.