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
# 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 }}

View File

@@ -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',
],
},