Skip to content

Commit

Permalink
Fix mypy CI job (#498)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexWaygood authored Aug 20, 2024
1 parent f99a1b1 commit 72a2de5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,15 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
# Need to use Python 3.8 for the mypy-3.8 job,
# or `ast_decompiler` isn't installed by `uv pip install -e '.[dev]'`,
# and `ast_decompiler` must be installed for the typecheck to succeed
# with `--python-version=3.8
python-version: "3.8"
allow-prereleases: true
- run: curl -LsSf https://astral.sh/uv/install.sh | sh
- run: uv pip install -e .[dev] --system
- run: mypy
- run: mypy --python-version=${{ matrix.python-version }}

flake8:
name: flake8
Expand Down

0 comments on commit 72a2de5

Please sign in to comment.