Skip to content

Commit ca87296

Browse files
authored
Update to mypy 0.930 (#6660)
* Update to mypy 0.930 * Temporarily pin stubtest to 0.921
1 parent 1ec2387 commit ca87296

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.github/workflows/stubtest.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ jobs:
3434
- name: Update pip
3535
run: python -m pip install -U pip
3636
- name: Install dependencies
37-
run: pip install $(grep tomli== requirements-tests.txt) $(grep mypy== requirements-tests.txt)
37+
run: |
38+
# Temporarily pin stubtest version
39+
pip install mypy==0.921
40+
pip install $(grep tomli== requirements-tests.txt) # $(grep mypy== requirements-tests.txt)
3841
- name: Run stubtest
3942
run: python tests/stubtest_stdlib.py
4043

.github/workflows/tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,10 @@ jobs:
110110
- name: Update pip
111111
run: python -m pip install -U pip
112112
- name: Install dependencies
113-
run: pip install $(grep tomli== requirements-tests.txt) $(grep mypy== requirements-tests.txt)
113+
run: |
114+
# Temporarily pin stubtest version
115+
pip install mypy==0.921
116+
pip install $(grep tomli== requirements-tests.txt) # $(grep mypy== requirements-tests.txt)
114117
- name: Run stubtest
115118
run: python tests/stubtest_stdlib.py
116119

requirements-tests.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
mypy==0.921
1+
mypy==0.930
22
pytype==2021.11.29; platform_system != "Windows"
33
# must match .pre-commit-config.yaml
44
black==21.12b0

0 commit comments

Comments
 (0)