From 0b6800c7a9fded018cd1d84eca3569911ed33a41 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Sun, 8 Feb 2026 00:28:41 +0100 Subject: [PATCH] Use zuban instead of Mypy --- .github/workflows/build.yml | 4 ++-- setup.py | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6abacaa..846c8b0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,8 +21,8 @@ jobs: - name: Run Flake8 # Ignore F401, which are unused imports. flake8 is a primitive tool and is sometimes wrong. run: flake8 --extend-ignore F401 parso test/*.py setup.py scripts/ - - name: Run Mypy - run: mypy parso setup.py + - name: Run Zuban + run: zuban check test: runs-on: ubuntu-latest continue-on-error: ${{ matrix.experimental }} diff --git a/setup.py b/setup.py index b8fd359..465b79e 100755 --- a/setup.py +++ b/setup.py @@ -58,9 +58,8 @@ setup( 'qa': [ # Latest version which supports Python 3.6 'flake8==5.0.4', - # Latest version which supports Python 3.6 - 'mypy==0.971', # Arbitrary pins, latest at the time of pinning + 'zuban==0.5.0', 'types-setuptools==67.2.0.1', ], },