]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Run codespell in CI to detect spelling issues 3043/head
authorDavid Runge <dave@sleepmap.de>
Wed, 18 Sep 2024 11:33:04 +0000 (13:33 +0200)
committerDavid Runge <dave@sleepmap.de>
Wed, 18 Sep 2024 11:36:01 +0000 (13:36 +0200)
Signed-off-by: David Runge <dave@sleepmap.de>
.github/workflows/ci.yml

index 2524f06b2460569eabaa413ca8bd01469dfd217d..8e7daef08421f0bc9b39cfd393062606cfb7245a 100644 (file)
@@ -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