From 1b9f94f37d1aa1d517d8e9581838f72e733077f0 Mon Sep 17 00:00:00 2001 From: David Runge Date: Wed, 18 Sep 2024 13:33:04 +0200 Subject: [PATCH] Run codespell in CI to detect spelling issues Signed-off-by: David Runge --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 2.47.2