1
0
mirror of https://github.com/containers/image.git synced 2025-04-18 19:44:05 +03:00

.codespellrc: exclude directories with test data

Instead of excluding just the *.gpg files, let's exclude directories
containing those (and similar) files which should not be subjected
to spell checker.

This makes codespell run faster and fixes the following warning:

> WARNING: Cannot decode file using encoding "utf-8": ./signature/simplesigning/testdata/private-keys-v1.d/A0E6EC3A2963DC2D19E9C24E4E6DD232E6BBE1CD.key
> WARNING: Trying next encoding "iso-8859-1"

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
Kir Kolyshkin 2024-09-19 11:08:26 -07:00
parent fd7479fe6a
commit 73763ea96d

View File

@ -1,6 +1,6 @@
# See https://github.com/codespell-project/codespell#using-a-config-file
[codespell]
skip = ./vendor,./.git,./go.sum,*.gpg
skip = ./vendor,./.git,./go.sum,./signature/fixtures,./signature/simplesigning/testdata
# NOTE words added to the list below need to be lowercased.
ignore-words-list = te,bu