Skip to content

Commit

Permalink
Move codespell options to a config file
Browse files Browse the repository at this point in the history
- This makes it move convenient to use on the CLI
  • Loading branch information
cameel committed Nov 26, 2024
1 parent 297230a commit 7039ab6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 1 addition & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -855,11 +855,7 @@ jobs:
pip install --user codespell
- run:
name: Check spelling
command: |
~/.local/bin/codespell \
--skip "*.enc,.git,Dockerfile*,LICENSE,codespell_whitelist.txt,codespell_ignored_lines.txt,deps" \
--ignore-words scripts/codespell_whitelist.txt \
--exclude-file scripts/codespell_ignored_lines.txt
command: ~/.local/bin/codespell
- matrix_notify_failure_unless_pr

chk_docs_examples:
Expand Down
4 changes: 4 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[codespell]
skip = .git,deps,LICENSE,*.enc,Dockerfile*,codespell_whitelist.txt,codespell_ignored_lines.txt
ignore-words = scripts/codespell_whitelist.txt
exclude-file = scripts/codespell_ignored_lines.txt

0 comments on commit 7039ab6

Please sign in to comment.