Verified Commit f496a577 authored by georg's avatar georg

CI: codespell: Add config to ignore specific strings and words

parent b3a453eb
......@@ -34,10 +34,10 @@ codespell:
APT_INSTALL_PACKAGES: codespell
<<: *setup_apt
script:
# Run codespell to check for spelling errors, using a config to ignore
# warnings about binary files and to check file names as well.
# Run codespell to check for spelling errors, using a config with ignored words,
# ignoring warnings about binary files and to check file names as well.
# Also, exclude the vendor dir, which leads to false positives.
- codespell -q 2 -f -S vendor
- codespell -q 2 -f -I utils/ci/codespell/ignored_words.txt -S vendor
stage: static
build:
......
# Words to be ignored by codespell.
# Put one word per line.
mitre
# That's actually \nto, which codespell is not able to parse correctly
nto
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