diff --git a/.codespell/.codespellrc b/.codespell/.codespellrc index 5255128dffb..95aa2b2749f 100644 --- a/.codespell/.codespellrc +++ b/.codespell/.codespellrc @@ -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 \ No newline at end of file diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 1511fd18304..d3a8b072166 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -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 \ No newline at end of file + run: | + source venv/bin/activate + codespell --config=./.codespell/.codespellrc \ No newline at end of file