Use zuban instead of Mypy

This commit is contained in:
Dave Halter
2026-02-08 00:28:41 +01:00
parent 59f4282d21
commit 0b6800c7a9
2 changed files with 3 additions and 4 deletions

View File

@@ -21,8 +21,8 @@ jobs:
- name: Run Flake8 - name: Run Flake8
# Ignore F401, which are unused imports. flake8 is a primitive tool and is sometimes wrong. # 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/ run: flake8 --extend-ignore F401 parso test/*.py setup.py scripts/
- name: Run Mypy - name: Run Zuban
run: mypy parso setup.py run: zuban check
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }} continue-on-error: ${{ matrix.experimental }}

View File

@@ -58,9 +58,8 @@ setup(
'qa': [ 'qa': [
# Latest version which supports Python 3.6 # Latest version which supports Python 3.6
'flake8==5.0.4', 'flake8==5.0.4',
# Latest version which supports Python 3.6
'mypy==0.971',
# Arbitrary pins, latest at the time of pinning # Arbitrary pins, latest at the time of pinning
'zuban==0.5.0',
'types-setuptools==67.2.0.1', 'types-setuptools==67.2.0.1',
], ],
}, },