Bump pyright, disable PR/commit commenting for all but one job (#5347)

* Bump pyright, disable PR/commit commenting for now

* Show comments for 3.9

* And only on Linux
This commit is contained in:
Jake Bailey
2021-05-05 12:49:21 -07:00
committed by GitHub
parent 00f2301029
commit a334a29c96
2 changed files with 3 additions and 2 deletions

View File

@@ -101,9 +101,10 @@ jobs:
- uses: actions/checkout@v2
- uses: jakebailey/pyright-action@v1
with:
version: 1.1.136 # Must match pyright_test.py.
version: 1.1.137 # Must match pyright_test.py.
python-platform: ${{ matrix.python-platform }}
python-version: ${{ matrix.python-version }}
no-comments: ${{ matrix.python-version != '3.9' || matrix.python-platform != 'Linux' }} # Having each job create the same comment is too noisy.
stubtest:
name: Check stdlib with stubtest

View File

@@ -5,7 +5,7 @@ import subprocess
import sys
from pathlib import Path
_PYRIGHT_VERSION = "1.1.136" # Must match tests.yml.
_PYRIGHT_VERSION = "1.1.137" # Must match tests.yml.
_WELL_KNOWN_FILE = Path("tests", "pyright_test.py")