mirror of
https://github.com/curl/curl.git
synced 2026-06-06 11:34:20 +03:00
try typos
This commit is contained in:
parent
fa7694aec7
commit
7029c0a364
2 changed files with 19 additions and 1 deletions
10
.github/workflows/checksrc.yml
vendored
10
.github/workflows/checksrc.yml
vendored
|
|
@ -66,8 +66,9 @@ jobs:
|
|||
python3-typing-extensions python3-libcst python3-impacket \
|
||||
python3-websockets python3-pytest python3-filelock python3-pytest-xdist
|
||||
python3 -m pip install --break-system-packages cmakelang==0.6.13 pytype==2024.10.11 ruff==0.11.9 codespell==2.4.1
|
||||
cargo install typos-cli
|
||||
|
||||
- name: 'spellcheck'
|
||||
- name: 'codespell'
|
||||
run: |
|
||||
codespell --version
|
||||
codespell \
|
||||
|
|
@ -78,6 +79,13 @@ jobs:
|
|||
--skip '*/test*,*/THANKS,*/spellcheck.words,packages/*' \
|
||||
$(git ls-files)
|
||||
|
||||
- name: 'typos'
|
||||
run: |
|
||||
typos --version
|
||||
git ls-files | \
|
||||
grep -v -E '(codespell-ignore\.txt|spellcheck\.words|/wcurl|CIPHERS-TLS12\.md|/THANKS)' | \
|
||||
typos --file-list - --config .github/scripts/typos.toml
|
||||
|
||||
- name: 'cmakelint'
|
||||
run: scripts/cmakelint.sh
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue