Skip to content

Commit

Permalink
fix: pyright error on Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
zyr17 committed Jul 8, 2024
1 parent dfaad9c commit 58be128
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,18 @@ jobs:
run: |
pip install -e ".[dev]"
- name: Create pyrightconfig.json
run: |
echo '{
"exclude": [
"src/lpsim/env/**"
],
"typeCheckingMode": "basic"
}' > pyrightconfig.json
- name: Run type check
run: |
pyright --version
pyright .
- name: Run tests with coverage
Expand Down

0 comments on commit 58be128

Please sign in to comment.