Skip to content

Commit

Permalink
😏 Pytype is better.
Browse files Browse the repository at this point in the history
Pyright is giving me errors.
  • Loading branch information
rentruewang committed Jan 5, 2024
1 parent 28c9d16 commit cb6b5ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/typecheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,8 @@ jobs:
- name: 🚂 Activate environment
run: echo "$(poetry env info --path)/bin" >> $GITHUB_PATH

- name: 🏃 pyright
uses: jakebailey/pyright-action@v1
- name: 🏃 pytype
uses: theahura/pytypes-action@main
with:
args: -d import-error -d not-supported-error

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ mkdocs-git-revision-date-plugin = "^0.3.1"
mkdocs-git-revision-date-localized-plugin = "^0.11.1"
mkdocs-material = "^9.1.15"
pytest = "^7.3.1"
pytype = "^2023.12.18"

[build-system]
requires = ["poetry-core"]
Expand Down

0 comments on commit cb6b5ba

Please sign in to comment.