File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,12 @@ jobs:
103103 MAKE : make -j2 --output-sync=recurse
104104 SAGE_NUM_THREADS : 2
105105
106+ - name : Add venv to PATH for pyright
107+ if : always() && steps.worktree.outcome == 'success'
108+ # https://github.com/jakebailey/pyright-action#use-with-a-virtualenv
109+ run : echo "$PWD/venv/bin" >> $GITHUB_PATH
110+ working-directory : ./worktree-image
111+
106112 - name : Static code check with pyright
107113 if : always() && steps.worktree.outcome == 'success'
108114 uses : jakebailey/pyright-action@v1
Original file line number Diff line number Diff line change 11{
22 "include" : [
3- " src"
3+ " src/sage "
44 ],
5- "executionEnvironments" : [
6- {
7- "root" : " src"
8- }
9- ],
5+ "stubPath" : " src/typings" ,
106 "pythonVersion" : " 3.9" ,
117 "exclude" : [" venv" ],
12- "venvPath" : " ./venv/" ,
138
149 "reportGeneralTypeIssues" : " warning" ,
1510 "reportUnboundVariable" : " warning" ,
You can’t perform that action at this time.
0 commit comments