File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6161 version : PATH
6262 python-platform : ${{ matrix.python-platform }}
6363 python-version : " 3.9" # Oldest version supported for running scripts and tests
64- extra-args : --threads
6564 project : ./pyrightconfig.scripts_and_tests.json
6665 stubsabot-dry-run :
6766 name : Stubsabot dry run
Original file line number Diff line number Diff line change @@ -145,15 +145,13 @@ jobs:
145145 version : PATH
146146 python-platform : ${{ matrix.python-platform }}
147147 python-version : ${{ matrix.python-version }}
148- extra-args : --threads
149148 annotate : ${{ matrix.python-version == '3.12' && matrix.python-platform == 'Linux' }} # Having each job create the same comment is too noisy.
150149 - name : Run pyright with stricter settings on some of the stubs
151150 uses : jakebailey/pyright-action@v2
152151 with :
153152 version : PATH
154153 python-platform : ${{ matrix.python-platform }}
155154 python-version : ${{ matrix.python-version }}
156- extra-args : --threads
157155 annotate : ${{ matrix.python-version == '3.12' && matrix.python-platform == 'Linux' }} # Having each job create the same comment is too noisy.
158156 project : ./pyrightconfig.stricter.json
159157 - name : Run pyright on the test cases
@@ -162,7 +160,6 @@ jobs:
162160 version : PATH
163161 python-platform : ${{ matrix.python-platform }}
164162 python-version : ${{ matrix.python-version }}
165- extra-args : --threads
166163 annotate : ${{ matrix.python-version == '3.12' && matrix.python-platform == 'Linux' }} # Having each job create the same comment is too noisy.
167164 project : ./pyrightconfig.testcases.json
168165
Original file line number Diff line number Diff line change 100100 " stubs/vobject" ,
101101 " stubs/workalendar" ,
102102 " stubs/wurlitzer" ,
103- " stubs/xdgenvpy"
104103 ],
105104 "typeCheckingMode" : " strict" ,
106105 // TODO: Complete incomplete stubs
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ def main() -> None:
3737 # version installed into the virtual environment, due to failures on some
3838 # platforms. https://github.com/python/typeshed/issues/11614
3939 os .environ ["PYRIGHT_PYTHON_FORCE_VERSION" ] = pyright_version
40- command = [npx , f"pyright@{ pyright_version } " ] + sys .argv [1 :] + [ "--threads" ]
40+ command = [npx , f"pyright@{ pyright_version } " ] + sys .argv [1 :]
4141 print_command (command )
4242
4343 ret = subprocess .run (command ).returncode
You can’t perform that action at this time.
0 commit comments