-
Notifications
You must be signed in to change notification settings - Fork 492
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dev-ops] Type annotation validation GitHub action (#902)
* add pyright as dev dependency * add empty configuration for pyright to pyproject.toml * add github action for pyright * test the other pyright github action (hopefully with inline comments) * add github token for pyright action * Revert "test the other pyright github action (hopefully with inline comments)" This reverts commit 2012f51. * install python and requirements for pyright checks * define python version for pyright * also install docs requirements to fix type warnings for docs folder * limit type checks to a single file to get started * add missing dependency path to type check action * shorten upgrade parameter for pip * fix requirements/base.txt file location
- Loading branch information
Showing
3 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ black[jupyter] | |
flake8 | ||
isort | ||
livelossplot>=0.5.3 | ||
pyright | ||
pytest-cov | ||
pytest>=6.2.3 | ||
twine | ||
|