From: David Runge Date: Wed, 18 Sep 2024 11:33:04 +0000 (+0200) Subject: Run codespell in CI to detect spelling issues X-Git-Tag: v25~283^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3043%2Fhead;p=thirdparty%2Fmkosi.git Run codespell in CI to detect spelling issues Signed-off-by: David Runge --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2524f06b2..8e7daef08 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: sudo apt-get update sudo apt-get install pandoc python3-pytest python3 -m pip install --break-system-packages --upgrade setuptools wheel pip - python3 -m pip install --break-system-packages mypy ruff + python3 -m pip install --break-system-packages codespell mypy ruff npm install -g pyright - name: Run ruff @@ -35,6 +35,11 @@ jobs: - name: Check that tabs are not used in code run: sh -c '! git grep -P "\\t" "*.py"' + - name: Spell Checking (codespell) + run: | + codespell --version + codespell + - name: Type Checking (mypy) run: | python3 -m mypy --version