Upgrade mypy to 0.920 (#6611)

Temporily pin mypy used for stubtest checks to 0.910, until the stubtest
problems are addressed.
This commit is contained in:
Sebastian Rittau
2021-12-16 17:53:36 +01:00
committed by GitHub
parent c900c0e769
commit dae0b127ca
3 changed files with 7 additions and 3 deletions

View File

@@ -33,7 +33,9 @@ jobs:
- name: Update pip
run: python -m pip install -U pip
- name: Install dependencies
run: pip install $(grep tomli== requirements-tests.txt) $(grep mypy== requirements-tests.txt)
# Temporarily hard-code the mypy version used for stubtest
# run: pip install $(grep tomli== requirements-tests.txt) (grep mypy== requirements-tests.txt)
run: pip install mypy==0.910
- name: Run stubtest
run: python tests/stubtest_stdlib.py

View File

@@ -109,7 +109,9 @@ jobs:
- name: Update pip
run: python -m pip install -U pip
- name: Install dependencies
run: pip install $(grep tomli== requirements-tests.txt) $(grep mypy== requirements-tests.txt)
# Temporarily hard-code the mypy version used for stubtest
# run: pip install $(grep tomli== requirements-tests.txt) (grep mypy== requirements-tests.txt)
run: pip install mypy==0.910
- name: Run stubtest
run: python tests/stubtest_stdlib.py

View File

@@ -1,4 +1,4 @@
mypy==0.910
mypy==0.920
pytype==2021.11.29; platform_system != "Windows"
# must match .pre-commit-config.yaml
black==21.12b0