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

Makefile: mv codespell config to .codespellrc

It is cleaner that way.

While at it, let's try to minimize it.

[NO NEW TESTS NEEDED]

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
Kir Kolyshkin 2024-11-08 17:02:20 -08:00
parent c2b42c5e4f
commit 135431f8d5
2 changed files with 4 additions and 1 deletions

3
.codespellrc Normal file
View File

@ -0,0 +1,3 @@
[codespell]
skip = ./vendor,./.git,./go.sum,./docs/*.1,./docker/AUTHORS,./CHANGELOG.md,./changelog.txt,./tests/tools/vendor,./tests/tools/go.mod,./tests/tools/go.sum
ignore-words-list = fo,passt,secon,erro

View File

@ -120,7 +120,7 @@ docs: install.tools ## build the docs on the host
$(MAKE) -C docs
codespell:
codespell -S Makefile,buildah.spec.rpkg,AUTHORS,bin,vendor,.git,go.mod,go.sum,CHANGELOG.md,changelog.txt,seccomp.json,.cirrus.yml,"*.xz,*.gz,*.tar,*.tgz,*ico,*.png,*.1,*.5,*.orig,*.rej" -L secon,passt,bu,uint,iff,od,erro -w
codespell -w
.PHONY: validate
validate: install.tools