Skip to content

Commit

Permalink
pyright
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhue committed Feb 16, 2024
1 parent c239286 commit 924f332
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
run: pip3 install --upgrade torch==${{ matrix.torch}}
- name: Run Black
run: black . --check
# - name: Run pyright
# uses: jakebailey/pyright-action@v1.8.1
- name: Run pyright
uses: jakebailey/pyright-action@v1.8.1
# - name: Run pytest
# run: |
# export PYTHONPATH=$(pwd)
Expand Down
8 changes: 8 additions & 0 deletions pyrightconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"include": [
// "examples",
"afsl",
"tests"
],
"typeCheckingMode": "basic",
}
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
black==24.2.0
pdoc==14.4.0
pyright==1.1.350
torch==2.2.0
twine

0 comments on commit 924f332

Please sign in to comment.