Bump pyright to v1.1.360 (#11810)

This commit is contained in:
Alex Waygood
2024-04-24 13:09:16 +01:00
committed by GitHub
parent 29db988c0a
commit d0f2be92ab
20 changed files with 100 additions and 46 deletions

View File

@@ -188,7 +188,7 @@ class _patch(Generic[_T]):
# but that's impossible with the current type system.
if sys.version_info >= (3, 10):
def __init__(
self: _patch[_T],
self: _patch[_T], # pyright: ignore[reportInvalidTypeVarUse] #11780
getter: Callable[[], Any],
attribute: str,
new: _T,
@@ -203,7 +203,7 @@ class _patch(Generic[_T]):
) -> None: ...
else:
def __init__(
self: _patch[_T],
self: _patch[_T], # pyright: ignore[reportInvalidTypeVarUse] #11780
getter: Callable[[], Any],
attribute: str,
new: _T,