-
Notifications
You must be signed in to change notification settings - Fork 543
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(runfiles): Added type hints to
@rules_python//python/runfiles
(#…
…1654) This change adds mypy types directly to the `rules_python.python.runfiles` library as well as regression testing to CI. --------- Co-authored-by: Ignas Anikevicius <[email protected]>
- Loading branch information
1 parent
02591a5
commit 4c2d7d9
Showing
6 changed files
with
210 additions
and
173 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: mypy | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
ci: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
# Checkout the code | ||
- uses: actions/checkout@v2 | ||
- uses: jpetrucciani/mypy-check@master | ||
with: | ||
requirements: 1.6.0 | ||
python_version: 3.8 | ||
path: 'python/runfiles' | ||
- uses: jpetrucciani/mypy-check@master | ||
with: | ||
requirements: 1.6.0 | ||
python_version: 3.8 | ||
path: 'tests/runfiles' | ||
|
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
Empty file.
Oops, something went wrong.