Skip to content

Commit 600b34e

Browse files
FIx codespell check (#8652)
1 parent b91c432 commit 600b34e

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.codespell/.codespellrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[codespell]
2-
skip = .git,package-lock.json,LOG.old.*
2+
skip = .git,package-lock.json,LOG.old.*,venv
33
count =
44
quiet-level = 3
55
ignore-words = ./.codespell/wordlist.txt

.github/workflows/codespell.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,13 @@ jobs:
1616
- name: Checkout the repository
1717
uses: actions/checkout@v4
1818

19-
- name: Install prerequisites
20-
run: pip install codespell
19+
- name: Set up a Python venv and install prerequisites
20+
run: |
21+
python3 -m venv venv
22+
source venv/bin/activate
23+
pip install codespell
2124
2225
- name: Spell check
23-
run: codespell --config=./.codespell/.codespellrc
26+
run: |
27+
source venv/bin/activate
28+
codespell --config=./.codespell/.codespellrc

0 commit comments

Comments
 (0)