Skip to content

Commit

Permalink
CI: pin mypy to version 1.8
Browse files Browse the repository at this point in the history
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
  • Loading branch information
dcbaker committed Mar 11, 2024
1 parent f947978 commit 675c323
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- run: python -m pip install mypy coverage strictyaml types-PyYAML types-tqdm types-chevron
# Pin mypy to version 1.8, so we retain the ability to lint for Python 3.7
- run: python -m pip install "mypy==1.8" coverage strictyaml types-PyYAML types-tqdm types-chevron
- run: python run_mypy.py --allver
env:
PYTHONUNBUFFERED: 1
Expand Down

0 comments on commit 675c323

Please sign in to comment.