diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5f0fdac10..b5a32c05a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 diff --git a/pyrightconfig.json b/pyrightconfig.json index a9d30d51b..95bd22488 100644 --- a/pyrightconfig.json +++ b/pyrightconfig.json @@ -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", -} \ No newline at end of file +} diff --git a/pyrightconfig.stricter.json b/pyrightconfig.stricter.json index 3d159702d..0680f5ed5 100644 --- a/pyrightconfig.stricter.json +++ b/pyrightconfig.stricter.json @@ -89,7 +89,7 @@ "reportUntypedClassDecorator": "error", "reportUntypedBaseClass": "error", "reportUntypedNamedTuple": "error", - "reportPrivateUsage": "error", + "reportPrivateUsage": "none", "reportConstantRedefinition": "error", "reportIncompatibleMethodOverride": "error", "reportIncompatibleVariableOverride": "error", diff --git a/tests/pyright_test.py b/tests/pyright_test.py index 789c1e849..d2adf45eb 100755 --- a/tests/pyright_test.py +++ b/tests/pyright_test.py @@ -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")