ci: Check spelling with codespell
* You can ignore words inline by adding a comment like `# codespell:ignore word`. * You can ignore words by adding them to the `.codespell_ignores` file. * You can ignore files and directories by adding them with `skip = ` to the `.codespellrc` file. Signed-off-by: Sergei Petrosian <spetrosi@redhat.com>
This commit is contained in:
committed by
Sergei Petrosian
parent
21122732bd
commit
c9eca28874
@@ -0,0 +1,8 @@
|
||||
[codespell]
|
||||
check-hidden = true
|
||||
# Note that `-w` doesn't work when ignore-multiline-regex is set
|
||||
# https://github.com/codespell-project/codespell/issues/3642
|
||||
ignore-multiline-regex = codespell:ignore-begin.*codespell:ignore-end
|
||||
ignore-words = .codespell_ignores
|
||||
# skip-file is not available https://github.com/codespell-project/codespell/pull/2759
|
||||
skip = .README.html
|
||||
Reference in New Issue
Block a user