Update pyright to 1.1.175 (#6110)

This commit is contained in:
Jake Bailey
2021-10-04 18:17:24 -07:00
committed by GitHub
parent b9ea346c14
commit 2912ab0092
4 changed files with 5 additions and 5 deletions

View File

@@ -89,7 +89,7 @@ jobs:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
fail-fast: false
env:
PYRIGHT_VERSION: 1.1.160 # Must match pyright_test.py.
PYRIGHT_VERSION: 1.1.175 # Must match pyright_test.py.
steps:
- uses: actions/checkout@v2
- uses: jakebailey/pyright-action@v1

View File

@@ -33,7 +33,7 @@
"reportUntypedClassDecorator": "error",
"reportUntypedBaseClass": "error",
"reportUntypedNamedTuple": "error",
"reportPrivateUsage": "error",
"reportPrivateUsage": "none",
"reportConstantRedefinition": "error",
"reportIncompatibleMethodOverride": "error",
"reportIncompatibleVariableOverride": "error",
@@ -55,4 +55,4 @@
// Several stubs refer to symbols in __all__ that are conditionally
// declared based on platform or version checks.
"reportUnsupportedDunderAll": "none",
}
}

View File

@@ -89,7 +89,7 @@
"reportUntypedClassDecorator": "error",
"reportUntypedBaseClass": "error",
"reportUntypedNamedTuple": "error",
"reportPrivateUsage": "error",
"reportPrivateUsage": "none",
"reportConstantRedefinition": "error",
"reportIncompatibleMethodOverride": "error",
"reportIncompatibleVariableOverride": "error",

View File

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