Skip to content

Commit

Permalink
Add pyright type checking to github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tompollard committed May 1, 2023
1 parent e550f5e commit c44ee98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ jobs:
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --statistics
- name: Type check with pyright
run: |
pyright tableone
- name: Test with pytest
run: |
pytest -vv --cov-report term-missing --cov tableone | tee coverage-report-${{ matrix.python-version }}.txt
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Jinja2==3.1.2
numpy==1.23.2
openpyxl==3.1.2
pandas==2.0.0
pyright==1.1.305
pytest-cov==3.0.0
scipy==1.10.1
statsmodels==0.13.5
Expand Down

0 comments on commit c44ee98

Please sign in to comment.