Closed dmitry-mightydevops closed 3 months ago
After I added .codespellrc my pre-commit started to get noiser:
codespell................................................................Failed - hook id: codespell - exit code: 65 Used config files: 1: .codespellrc Used config files: 1: .codespellrc Used config files: 1: .codespellrc Used config files: 1: .codespellrc Used config files: 1: .codespellrc Used config files: 1: .codespellrc Used config files: 1: .codespellrc Used config files: 1: .codespellrc Used config files: 1: .codespellrc Used config files: 1: .codespellrc Used config files: 1: .codespellrc stacks/ses/ses-route53-dmarc.tf:17: fo ==> of, for, to, do, go Used config files: 1: .codespellrc
Without the .codespellrc it I was getting just:
stacks/ses/ses-route53-dmarc.tf:17: fo ==> of, for, to, do, go
[codespell] quiet-level = 1 ignore-words = .csignore
How to get rid of the noise?
That's because of this setting
quiet-level = 1
Instead, try:
quiet-level = 33
where:
$ codespell -h [...] - 32: don't print configuration files. [...] $
After I added .codespellrc my pre-commit started to get noiser:
Without the .codespellrc it I was getting just:
.codespellrc
How to get rid of the noise?