From eaba43dc531d0af348cb9b949a6c3f0790d207b2 Mon Sep 17 00:00:00 2001 From: Kyle Benesch <4b796c65+github@gmail.com> Date: Tue, 12 Dec 2023 04:03:23 -0800 Subject: [PATCH] Pre-commit auto update --- .pre-commit-config.yaml | 2 +- delocate/delocating.py | 2 +- delocate/tests/test_delocating.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 83f78f89..4b40008f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,7 +18,7 @@ repos: - id: fix-byte-order-marker - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.5 + rev: v0.1.7 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/delocate/delocating.py b/delocate/delocating.py index 5045b24b..38c2fdee 100644 --- a/delocate/delocating.py +++ b/delocate/delocating.py @@ -501,7 +501,7 @@ def delocate_path( def _copy_lib_dict( - lib_dict: Mapping[Text, Mapping[Text, Text]] + lib_dict: Mapping[Text, Mapping[Text, Text]], ) -> Dict[Text, Dict[Text, Text]]: """Returns a copy of lib_dict.""" return { # Convert nested Mapping types into nested Dict types. diff --git a/delocate/tests/test_delocating.py b/delocate/tests/test_delocating.py index 5c2b824f..8f46dc57 100644 --- a/delocate/tests/test_delocating.py +++ b/delocate/tests/test_delocating.py @@ -97,7 +97,7 @@ def without_system_libs(obj): "tree_libs_func", [tree_libs, tree_libs_from_directory] ) def test_delocate_tree_libs( - tree_libs_func: Callable[[str], Dict[Text, Dict[Text, Text]]] + tree_libs_func: Callable[[str], Dict[Text, Dict[Text, Text]]], ) -> None: # Test routine to copy library dependencies into a local directory with InTemporaryDirectory() as tmpdir: