Skip to content

Commit

Permalink
fix pyright error in scipy.cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
jorenham committed Oct 9, 2024
1 parent 0a7f316 commit 7d3d23d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:
targets=(
"__init__.pyi"
"constants"
"cluster"
"datasets"
"integrate"
"io"
Expand Down
2 changes: 1 addition & 1 deletion scipy-stubs/cluster/hierarchy.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class ClusterNode:
def __lt__(self, node: ClusterNode, /) -> bool: ...
def __gt__(self, node: ClusterNode, /) -> bool: ...
@override
def __eq__(self, node: ClusterNode, /) -> bool: ... # type: ignore[override]
def __eq__(self, node: ClusterNode, /) -> bool: ... # type: ignore[override] # pyright: ignore[reportIncompatibleMethodOverride]
def get_id(self, /) -> int: ...
def get_count(self, /) -> int: ...
def get_left(self, /) -> ClusterNode: ...
Expand Down

0 comments on commit 7d3d23d

Please sign in to comment.