-
Notifications
You must be signed in to change notification settings - Fork 1
28 lines (22 loc) · 1.1 KB
/
codespell.yml
File metadata and controls
28 lines (22 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Codespell
on:
push:
branches: [master, main, develop]
pull_request:
branches: [master, main, develop]
permissions:
contents: read
jobs:
codespell:
name: Check for spelling errors
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Codespell
run: pip install --break-system-packages 'codespell[toml]'
- name: Run Codespell
run: |
codespell \
--skip="*.lock,*.json,*.map,*.yaml,*.yml,*.csv,*.bib,*.md,*.tml,*.rs,*.hpp,*.h,target,node_modules,.git,dist,venv,build,benchmarks,coverage,*.ll,*.bc,*.o,*.obj,*.exe,docs,rulebook,.sandbox,backup,*/gcc,*/llvm-project,*/llvm-install,*/third_party,*/cranelift,compiler-tml,*/chart,vcpkg_installed,*/tracy" \
--ignore-words-list="crate,ser,deser,upToDate,optIn,shouldBe,Bloc,strbuilder,LPAR,RPAR,LBRACE,RBRACE,LBRACKET,RBRACKET,inout,olt,ogt,oge,ole,oeq,une,statics,inferrable,implementors,SEH,PassT,clos,hel,fo,bu,Nd,nd,te,ue,aNULL,ShiftIn,Implementor,OtherWrite,Strng,caf,Collet,DElt,instanciated,pallete"