Commit 1d5a2be 1 parent 49f178b commit 1d5a2be Copy full SHA for 1d5a2be
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -122,10 +122,10 @@ elif [[ $TASK = 'codespell' ]]; then
122
122
-wholename " ./.git/*" \
123
123
\) | xargs)
124
124
# count the number of codespell errors
125
- spellingerrors=$( zrun codespell --check-filenames --quiet 2 --regex " [a-zA-Z0-9][\\ -'a-zA-Z0-9]+[a-zA-Z0-9]" --exclude-file .codespellignore $spellingfiles 2>&1 | wc -l)
125
+ spellingerrors=$( zrun codespell --check-filenames --check-hidden -- quiet 2 --regex " [a-zA-Z0-9][\\ -'a-zA-Z0-9]+[a-zA-Z0-9]" --exclude-file .codespellignore $spellingfiles 2>&1 | wc -l)
126
126
if [[ $spellingerrors -ne 0 ]]; then
127
127
# print the output for info
128
- zrun codespell --check-filenames --quiet 2 --regex " [a-zA-Z0-9][\\ -'a-zA-Z0-9]+[a-zA-Z0-9]" --exclude-file .codespellignore $spellingfiles
128
+ zrun codespell --check-filenames --check-hidden -- quiet 2 --regex " [a-zA-Z0-9][\\ -'a-zA-Z0-9]+[a-zA-Z0-9]" --exclude-file .codespellignore $spellingfiles
129
129
echo " Found $spellingerrors spelling errors via codespell"
130
130
exit 1;
131
131
else
You can’t perform that action at this time.
0 commit comments