Skip to content

Commit 7ce15dc

Browse files
committed
ignore spelling errors in all mod files which are largely auto-generated and have false-positives
1 parent e01e4ca commit 7ce15dc

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

hack/make-rules/update/misspell.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@ find -L . -type f -not \( \
4242
-o -path './_bin/*' \
4343
-o -path './_output/*' \
4444
-o -path './_artifacts/*' \
45-
-o -path './bazel-*/*' \
46-
-o -path './hack/tools/go.mod' \
47-
-o -path './hack/tools/go.sum' \
4845
-o -path './.python_virtual_env/*' \
4946
\) -prune \
47+
-o -name 'go.mod' \
48+
-o -name 'go.sum' \
5049
\) | xargs "${MISSPELL}" -w

hack/make-rules/verify/misspell.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,10 @@ find -L . -type f -not \( \
7777
-o -path './_bin/*' \
7878
-o -path './_output/*' \
7979
-o -path './_artifacts/*' \
80-
-o -path './bazel-*/*' \
81-
-o -path './hack/tools/go.mod' \
82-
-o -path './hack/tools/go.sum' \
8380
-o -path './.python_virtual_env/*' \
8481
\) -prune \
82+
-o -name 'go.mod' \
83+
-o -name 'go.sum' \
8584
\) | xargs "$MISSPELL" --error
8685

8786
echo 'PASS: No spelling issues detected'

0 commit comments

Comments
 (0)