diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 950882f..a2f898f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ minimum_pre_commit_version: 4.5.1 repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version - rev: v0.16.10 + rev: v0.17.1 hooks: # Run the linter - id: ruff @@ -27,7 +27,7 @@ repos: - repo: https://github.com/astral-sh/ty-pre-commit # Ty version - rev: v0.0.85 + rev: v0.0.89 hooks: # Run the type checker - id: ty diff --git a/pyhope/mesh/connect/connect.py b/pyhope/mesh/connect/connect.py index 5131b83..88bed33 100644 --- a/pyhope/mesh/connect/connect.py +++ b/pyhope/mesh/connect/connect.py @@ -136,7 +136,7 @@ def find_bc_index(bcs: list | tuple, key: str) -> Optional[int]: # return side_dict[corners_hash][0] -def get_nonconnected_sides(sides: list, mesh: meshio.Mesh) -> tuple[tuple, tuple[npt.NDArray]]: +def get_nonconnected_sides(sides: list, mesh: meshio.Mesh) -> tuple[tuple, tuple[npt.NDArray, ...]]: """ Get a list of internal sides that are not connected to any other side together with a list of their centers """