From 77e1e6330b8d52c16f02333a496b7914c1645698 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 13 Jul 2020 17:33:50 +0200 Subject: [PATCH] Run codespell from where it is installed by pip And disable the (useful) warning about this directory not being in PATH. --- .github/workflows/code_checks.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/code_checks.yml b/.github/workflows/code_checks.yml index 247bb4eeef..94eedcdc5f 100644 --- a/.github/workflows/code_checks.yml +++ b/.github/workflows/code_checks.yml @@ -36,8 +36,8 @@ jobs: - name: Install codespell run: | - pip install codespell==1.17.1 + pip install --no-warn-script-location codespell==1.17.1 - name: Run codespell run: | - codespell -I misc/suppressions/codespell-words -x misc/suppressions/codespell-lines -S 'docs/changes.txt,docs/changes_30.txt,*.png,*.ico,*.bmp,*.cur,docs/doxygen/images' README.md docs include interface + $HOME/.local/bin/codespell -I misc/suppressions/codespell-words -x misc/suppressions/codespell-lines -S 'docs/changes.txt,docs/changes_30.txt,*.png,*.ico,*.bmp,*.cur,docs/doxygen/images' README.md docs include interface