Skip to content

Commit

Permalink
FIx codespell check (#8652)
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBratanov authored Sep 27, 2024
1 parent b91c432 commit 600b34e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .codespell/.codespellrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[codespell]
skip = .git,package-lock.json,LOG.old.*
skip = .git,package-lock.json,LOG.old.*,venv
count =
quiet-level = 3
ignore-words = ./.codespell/wordlist.txt
11 changes: 8 additions & 3 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,13 @@ jobs:
- name: Checkout the repository
uses: actions/checkout@v4

- name: Install prerequisites
run: pip install codespell
- name: Set up a Python venv and install prerequisites
run: |
python3 -m venv venv
source venv/bin/activate
pip install codespell
- name: Spell check
run: codespell --config=./.codespell/.codespellrc
run: |
source venv/bin/activate
codespell --config=./.codespell/.codespellrc

0 comments on commit 600b34e

Please sign in to comment.