]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
try to add pyright to the CI
authorBob Halley <halley@dnspython.org>
Fri, 18 Oct 2024 20:03:22 +0000 (13:03 -0700)
committerBob Halley <halley@dnspython.org>
Fri, 18 Oct 2024 20:03:22 +0000 (13:03 -0700)
.github/workflows/ci.yml

index 425ed05e9c04aae0d4e8a997453cfc1bd846e94a..837a23b532df87f6b54b6e55393e88816ffe5fcf 100644 (file)
@@ -7,7 +7,6 @@ on:
   push:
     branches:
       - main
-      - 2.6
       - 2.7
     paths:
       - '**.py'
@@ -52,10 +51,11 @@ jobs:
     - name: Install dependencies
       run: |
         python -m pip install --upgrade pip
-        python -m pip install cryptography trio idna httpx h2 aioquic mypy pytest ruff
+        python -m pip install cryptography trio idna httpx h2 aioquic mypy pytest ruff pyright
     - name: Typecheck
       run: |
         python -m mypy --install-types --non-interactive --disallow-incomplete-defs dns
+        pyright dns
     - name: Lint
       run: |
         ruff check dns