Skip to content

Commit 9f033bf

Browse files
authored
Fixup some pyright CI configuration details (#12690)
1 parent bfaa3d2 commit 9f033bf

File tree

4 files changed

+1
-6
lines changed

4 files changed

+1
-6
lines changed

.github/workflows/meta_tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ jobs:
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

.github/workflows/tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff 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

pyrightconfig.stricter.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@
100100
"stubs/vobject",
101101
"stubs/workalendar",
102102
"stubs/wurlitzer",
103-
"stubs/xdgenvpy"
104103
],
105104
"typeCheckingMode": "strict",
106105
// TODO: Complete incomplete stubs

tests/pyright_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)