Skip to content

Commit

Permalink
Makefile: mv codespell config to .codespellrc
Browse files Browse the repository at this point in the history
It is cleaner that way.

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

[NO NEW TESTS NEEDED]

Signed-off-by: Kir Kolyshkin <[email protected]>
  • Loading branch information
kolyshkin committed Nov 11, 2024
1 parent c2b42c5 commit 135431f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 135431f

Please sign in to comment.