Skip to content

Commit 675c323

Browse files
committed
CI: pin mypy to version 1.8
Version 1.9 removes support for python 3.7, so we either need to pin the version to 1.8 as long as we're support Python 3.7, or we need to drop linting for 3.7
1 parent f947978 commit 675c323

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ jobs:
4646
- uses: actions/setup-python@v4
4747
with:
4848
python-version: '3.x'
49-
- run: python -m pip install mypy coverage strictyaml types-PyYAML types-tqdm types-chevron
49+
# Pin mypy to version 1.8, so we retain the ability to lint for Python 3.7
50+
- run: python -m pip install "mypy==1.8" coverage strictyaml types-PyYAML types-tqdm types-chevron
5051
- run: python run_mypy.py --allver
5152
env:
5253
PYTHONUNBUFFERED: 1

0 commit comments

Comments
 (0)