Skip to content

Commit

Permalink
Download most recent stubs on pyright test
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam committed Feb 28, 2024
1 parent c1374da commit 0d68547
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- run: pip install mypy types-regex types-setuptools
- run: pip install types-regex types-setuptools mypy>=1.5
- run: mypy . --python-version=${{ matrix.python-version }}

pyright:
Expand All @@ -134,6 +134,11 @@ jobs:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
# pyright vendors typeshed, but let's make sure we have the most up to date stubs
- run: pip install types-regex types-setuptools
- uses: jakebailey/[email protected]
with:
python-version: ${{ matrix.python-version }}
Expand Down

0 comments on commit 0d68547

Please sign in to comment.