Update pyright version to 1.1.350 (#11501)

If you're reading about this commit in an auto-generated changelog: this is an internal change that should have no impact on how these stubs are understood by static-analysis tools such as type checkers or IDEs
This commit is contained in:
Nikita Sobolev
2024-02-29 13:14:39 +03:00
committed by GitHub
parent 7b4c751abb
commit 675ab38ab7
8 changed files with 85 additions and 71 deletions

View File

@@ -15,7 +15,7 @@ from typing_extensions import Annotated
import pathspec
try:
from termcolor import colored as colored # pyright: ignore[reportGeneralTypeIssues]
from termcolor import colored as colored # pyright: ignore[reportAssignmentType]
except ImportError:
def colored(text: str, color: str | None = None, **kwargs: Any) -> str: # type: ignore[misc]