Skip to content

Commit

Permalink
Bump pyright to 1.1.339 (#11084)
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam authored Dec 6, 2023
1 parent 4246c54 commit c8a8199
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,5 @@ extra-standard-library = [
known-first-party = ["parse_metadata", "utils"]

[tool.typeshed]
pyright_version = "1.1.334"
pyright_version = "1.1.339"
oldest_supported_python = "3.7"
4 changes: 2 additions & 2 deletions stdlib/_ctypes.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ class _CDataMeta(type):
# By default mypy complains about the following two methods, because strictly speaking cls
# might not be a Type[_CT]. However this can never actually happen, because the only class that
# uses _CDataMeta as its metaclass is _CData. So it's safe to ignore the errors here.
def __mul__(cls: type[_CT], other: int) -> type[Array[_CT]]: ... # type: ignore[misc] # pyright: ignore[reportGeneralTypeIssues]
def __rmul__(cls: type[_CT], other: int) -> type[Array[_CT]]: ... # type: ignore[misc] # pyright: ignore[reportGeneralTypeIssues]
def __mul__(cls: type[_CT], other: int) -> type[Array[_CT]]: ... # type: ignore[misc]
def __rmul__(cls: type[_CT], other: int) -> type[Array[_CT]]: ... # type: ignore[misc]

class _CData(metaclass=_CDataMeta):
_b_base_: int
Expand Down

0 comments on commit c8a8199

Please sign in to comment.