Update pyright CI test to use the latest version of pyright (1.1.118). (#5092)

Update pyright CI test to use the latest version of pyright (1.1.118). Enable all but one of pyright's strictest checks. Add a "# type: ignore" to `__new__` method in `weakref.KeyRef` because it uses a non-standard name for the `cls` parameter, which is flagged as an error by pyright.

Co-authored-by: Eric Traut <erictr@microsoft.com>
This commit is contained in:
Eric Traut
2021-03-05 13:12:18 -07:00
committed by GitHub
parent ea7f1f9c2d
commit c92e3cb228
4 changed files with 13 additions and 7 deletions

View File

@@ -5,7 +5,7 @@ import subprocess
import sys
from pathlib import Path
_PYRIGHT_VERSION = "1.1.115"
_PYRIGHT_VERSION = "1.1.118"
_WELL_KNOWN_FILE = Path("tests", "pyright_test.py")