mirror of
https://github.com/davidhalter/parso.git
synced 2026-02-14 22:22:07 +08:00
Use zuban instead of Mypy
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -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 }}
|
||||||
|
|||||||
3
setup.py
3
setup.py
@@ -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',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user