From aad035ac1e68623e96589bd166b22a8e3aaf412f Mon Sep 17 00:00:00 2001 From: Peter Ujfalusi Date: Thu, 21 Oct 2021 12:34:08 +0300 Subject: [PATCH] .github: workflows: codestyle: Drop --codespellfile With the backported patch to checkpatch.pl the dictionary.txt location should automagically found and no need to specify it by hand. Suggested-by: Marc Herbert Signed-off-by: Peter Ujfalusi --- .github/workflows/codestyle.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/codestyle.yml b/.github/workflows/codestyle.yml index b901db00b..2e265906d 100644 --- a/.github/workflows/codestyle.yml +++ b/.github/workflows/codestyle.yml @@ -21,8 +21,7 @@ jobs: PR_NUM: ${{github.event.number}} # TODO: reduce duplication with scripts/sof-*-commit-hook.sh # thanks to either some .conf file or some wrapper script - CHK_CMD_OPTS: --ignore UNKNOWN_COMMIT_ID --codespell --codespellfile - /usr/lib/python3/dist-packages/codespell_lib/data/dictionary.txt + CHK_CMD_OPTS: --ignore UNKNOWN_COMMIT_ID --codespell --ignore C99_COMMENT_TOLERANCE steps: # depth 2 so: