Skip to content

Commit

Permalink
use pyright from path
Browse files Browse the repository at this point in the history
  • Loading branch information
jenshnielsen committed Apr 13, 2024
1 parent 0e17bce commit e1f370a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# this file is only used for constraining pyright version in CI
# It is done like this to allow dependabot to automatically bump the version
pyright==1.1.356
7 changes: 6 additions & 1 deletion .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,14 @@ jobs:
run: |
pip install .[test] -c requirements.txt
if: ${{ !matrix.min-version }}
- name: install pyright
run: |
pip install pyright -c requirements.txt
working-directory: .github
if: ${{ !matrix.min-version }}
- uses: jakebailey/pyright-action@20e69225f7f4713c65694eedc9f9c09ea517233b # v2.3.0
with:
version: 1.1.356
version: PATH
if: ${{ !matrix.min-version }}
- name: Run Mypy
run: mypy -p qcodes
Expand Down

0 comments on commit e1f370a

Please sign in to comment.