From f1a56733393b68a6346edfe7a1e9620e3591a476 Mon Sep 17 00:00:00 2001 From: Patrick Kopper Date: Fri, 16 Oct 2026 17:10:23 +0200 Subject: [PATCH] CI/CD: Update rules for ty v0.89 --- .pre-commit-config.yaml | 4 ++-- pyhope/mesh/connect/connect.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 """