diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f367715..ed3bcea 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -33,7 +33,7 @@ repos: additional_dependencies: [pyyaml] - repo: https://github.com/adamchainz/blacken-docs - rev: 1.19.1 + rev: 1.20.0 hooks: - id: blacken-docs additional_dependencies: [black==23.*] @@ -47,7 +47,7 @@ repos: exclude: \.ipynb$ - repo: https://github.com/codespell-project/codespell - rev: v2.4.1 + rev: v2.4.3 hooks: - id: codespell exclude: \.ipynb$|Gemfile\.lock$ @@ -61,13 +61,13 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/pre-commit/mirrors-clang-format - rev: v20.1.8 + rev: v23.1.3 hooks: - id: clang-format exclude: \.ipynb$ - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.12.10 + rev: v0.17.0 hooks: - id: ruff args: [--fix-only, --show-fixes] diff --git a/tools/relink_qt_wheel.py b/tools/relink_qt_wheel.py index b4175dd..09a2243 100644 --- a/tools/relink_qt_wheel.py +++ b/tools/relink_qt_wheel.py @@ -73,7 +73,7 @@ def relink_macos(root: Path, binary: Path) -> bool: run("install_name_tool", "-change", old, f"@rpath/{framework}", str(binary)) rpath = rpath_to_qt(root, binary, "@loader_path") rpaths = re.findall( - r"^\s+path (\S+) \(offset", run("otool", "-l", str(binary)), re.M + r"^\s+path (\S+) \(offset", run("otool", "-l", str(binary)), re.MULTILINE ) # Absolute rpaths only point into the build machine (e.g. its Qt or Geant4). for stale in (p for p in rpaths if p.startswith("/")):