Update to mypy 0.930 (#6660)

* Update to mypy 0.930

* Temporarily pin stubtest to 0.921
This commit is contained in:
Sebastian Rittau
2021-12-22 21:10:45 +01:00
committed by GitHub
parent 1ec2387da1
commit ca87296daf
3 changed files with 9 additions and 3 deletions

View File

@@ -34,7 +34,10 @@ 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)
run: |
# Temporarily pin stubtest version
pip install mypy==0.921
pip install $(grep tomli== requirements-tests.txt) # $(grep mypy== requirements-tests.txt)
- name: Run stubtest
run: python tests/stubtest_stdlib.py

View File

@@ -110,7 +110,10 @@ 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)
run: |
# Temporarily pin stubtest version
pip install mypy==0.921
pip install $(grep tomli== requirements-tests.txt) # $(grep mypy== requirements-tests.txt)
- name: Run stubtest
run: python tests/stubtest_stdlib.py

View File

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