Skip to content

Commit

Permalink
Makefile: move codespell options to .codespellrc
Browse files Browse the repository at this point in the history
This way,
 - Makefile is less cluttered;
 - one can run codespell from the command line.

Fixes: fd7e97f ("lint: exclude tags file from codespell")
Signed-off-by: Kir Kolyshkin <[email protected]>
  • Loading branch information
kolyshkin authored and avagin committed Feb 4, 2025
1 parent 237ac72 commit d4585a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .codespellrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[codespell]
skip = ./.git,./test/pki
skip = ./.git,./test/pki,./tags
ignore-words-list = creat,fpr,fle,ue,bord,parms,nd,te,testng,inh,wronly,renderd,bui,clen,sems
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ shellcheck:
shellcheck -x test/others/action-script/*.sh

codespell:
codespell -S tags
codespell

lint: ruff shellcheck codespell
# Do not append \n to pr_perror, pr_pwarn or fail
Expand Down

0 comments on commit d4585a0

Please sign in to comment.