-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement initial support for "pyright".
Signed-off-by: Thomas Mansencal <tmansencal@wetafx.co.nz>
- Loading branch information
1 parent
1abd145
commit cec1bd2
Showing
5 changed files
with
62 additions
and
1 deletion.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
.github/workflows/continuous-integration-static-type-checking.yml
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,35 @@ | ||
name: Continuous Integration - Static Type Checking | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
continuous-integration-static-type-checking: | ||
name: ${{ matrix.os }} - Python ${{ matrix.python-version }} | ||
strategy: | ||
matrix: | ||
os: [macOS-latest] | ||
python-version: [3.11] | ||
fail-fast: false | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Environment Variables | ||
run: | | ||
echo "CI_PACKAGE=opencolorio_config_aces" >> $GITHUB_ENV | ||
shell: bash | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install Dependencies (macOS) | ||
if: matrix.os == 'macOS-latest' | ||
run: | | ||
brew install graphviz | ||
export GRAPHVIZ_DIR="/usr/local/Cellar/graphviz/<VERSION>" | ||
pip install pygraphviz --global-option=build_ext --global-option="-I$GRAPHVIZ_DIR/include" --global-option="-L$GRAPHVIZ_DIR/lib" | ||
- name: Install Package Dependencies | ||
run: | | ||
pip install -r requirements.txt | ||
- name: Static Type Checking | ||
run: | | ||
pyright --skipunannotated |
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
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