]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
run ruff in the CI
authorBob Halley <halley@dnspython.org>
Wed, 24 Jul 2024 02:04:57 +0000 (19:04 -0700)
committerBob Halley <halley@dnspython.org>
Wed, 24 Jul 2024 02:04:57 +0000 (19:04 -0700)
.github/workflows/ci.yml

index 990eba3063c14dc25b675bc6760ceee5a2842316..f393a1061f72ed103c2e520882309952344344ed 100644 (file)
@@ -48,10 +48,13 @@ jobs:
     - name: Install dependencies
       run: |
         python -m pip install --upgrade pip
-        python -m pip install cryptography trio idna httpx h2 aioquic mypy pytest pytest-cov
+        python -m pip install cryptography trio idna httpx h2 aioquic mypy pytest pytest-cov ruff
     - name: Typecheck
       run: |
         python -m mypy --install-types --non-interactive --disallow-incomplete-defs dns
+    - name: Lint
+      run: |
+        ruff check dns
     - name: Test with pytest
       run: |
         pytest --cov=dns --cov-branch --cov-report=xml:coverage.xml