]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
GHA: rename config files to match pyspelling
authorViktor Szakats <commit@vsz.me>
Thu, 9 Oct 2025 11:48:06 +0000 (13:48 +0200)
committerViktor Szakats <commit@vsz.me>
Thu, 9 Oct 2025 12:17:32 +0000 (14:17 +0200)
To make it more obvious what needs to be looked at when pyspelling is
reporting an issue.

Follow-up to 95e50ad69473d8229b85478a3f2138b7e632fbe8 #18756
Closes #18974

.github/scripts/codespell.sh
.github/scripts/pyspelling.words [moved from .github/scripts/spellcheck.words with 100% similarity]
.github/scripts/pyspelling.yaml [moved from .github/scripts/spellcheck.yaml with 100% similarity]
.github/scripts/spacecheck.pl
.github/scripts/typos.toml
.github/workflows/checkdocs.yml

index 6825b38c7eaf2cb44e71db8c9b91db55bfd9e535..bbbbef57196887f083f1ad7375b1d781dbd895fe 100755 (executable)
@@ -9,7 +9,7 @@ cd "$(dirname "${0}")"/../..
 
 # shellcheck disable=SC2046
 codespell \
-  --skip '.github/scripts/spellcheck.words' \
+  --skip '.github/scripts/pyspelling.words' \
   --skip '.github/scripts/typos.toml' \
   --skip 'docs/THANKS' \
   --skip 'packages/*' \
index 7caf526327615b3e1e06926ba77aefd4ba27a212..fbd064db3ba2dc0666311959495e322eea376dab 100755 (executable)
@@ -53,7 +53,7 @@ my @non_ascii_allowed = (
 my $non_ascii_allowed = join(', ', @non_ascii_allowed);
 
 my @non_ascii = (
-    ".github/scripts/spellcheck.words",
+    ".github/scripts/pyspelling.words",
     ".mailmap",
     "RELEASE-NOTES",
     "docs/BINDINGS.md",
index 2be01d59f6a6be335a3a830e0c9abaa325daab73..28dcad73bec44e779b4d9da7b0dac371a6649758 100644 (file)
@@ -22,7 +22,7 @@ extend-ignore-re = [
 [files]
 extend-exclude = [
   ".github/scripts/codespell-ignore.words",
-  ".github/scripts/spellcheck.words",
+  ".github/scripts/pyspelling.words",
   "docs/THANKS",
   "packages/*",
   "projects/Windows/tmpl/curl.vcxproj",
index ad0c41e37aac8ece68d315dc294ebe8c3f390a6b..91ed7452d19c09566da5373ed0e661c06a4dc32e 100644 (file)
@@ -126,10 +126,10 @@ jobs:
         run: |
           source ~/venv/bin/activate
           # setup the custom wordlist
-          grep -v '^#' .github/scripts/spellcheck.words > wordlist.txt
+          grep -v '^#' .github/scripts/pyspelling.words > wordlist.txt
           aspell --version
           pyspelling --version
-          pyspelling --verbose --jobs 5 --config .github/scripts/spellcheck.yaml
+          pyspelling --verbose --jobs 5 --config .github/scripts/pyspelling.yaml
 
   badwords-synopsis:
     name: 'badwords, synopsis'