Skip to content

Commit 7039ab6

Browse files
committed
Move codespell options to a config file
- This makes it move convenient to use on the CLI
1 parent 297230a commit 7039ab6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.circleci/config.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -855,11 +855,7 @@ jobs:
855855
pip install --user codespell
856856
- run:
857857
name: Check spelling
858-
command: |
859-
~/.local/bin/codespell \
860-
--skip "*.enc,.git,Dockerfile*,LICENSE,codespell_whitelist.txt,codespell_ignored_lines.txt,deps" \
861-
--ignore-words scripts/codespell_whitelist.txt \
862-
--exclude-file scripts/codespell_ignored_lines.txt
858+
command: ~/.local/bin/codespell
863859
- matrix_notify_failure_unless_pr
864860

865861
chk_docs_examples:

.codespellrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[codespell]
2+
skip = .git,deps,LICENSE,*.enc,Dockerfile*,codespell_whitelist.txt,codespell_ignored_lines.txt
3+
ignore-words = scripts/codespell_whitelist.txt
4+
exclude-file = scripts/codespell_ignored_lines.txt

0 commit comments

Comments
 (0)