]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: Lint integration-test-wrapper.py 35336/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 23 Nov 2024 11:54:02 +0000 (12:54 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 24 Nov 2024 15:47:20 +0000 (16:47 +0100)
.github/workflows/linter.yml

index bf93682bd8a73dcf94938902af7e191f179c75e3..d9f6a37680a2c8aca252b1a4b11991b5ec57694c 100644 (file)
@@ -37,7 +37,7 @@ jobs:
           VALIDATE_GITHUB_ACTIONS: true
 
       - name: Check that tabs are not used in Python code
-        run: sh -c '! git grep -P "\\t" -- src/ukify/ukify.py'
+        run: sh -c '! git grep -P "\\t" -- src/ukify/ukify.py test/integration-test-wrapper.py'
 
       - name: Install ruff and mypy
         run: |
@@ -47,14 +47,14 @@ jobs:
       - name: Run mypy
         run: |
           python3 -m mypy --version
-          python3 -m mypy src/ukify/ukify.py
+          python3 -m mypy src/ukify/ukify.py test/integration-test-wrapper.py
 
       - name: Run ruff check
         run: |
           ruff --version
-          ruff check src/ukify/ukify.py
+          ruff check src/ukify/ukify.py test/integration-test-wrapper.py
 
       - name: Run ruff format
         run: |
           ruff --version
-          ruff format --check src/ukify/ukify.py
+          ruff format --check src/ukify/ukify.py test/integration-test-wrapper.py