Skip to content

Commit

Permalink
Pre-commit auto update
Browse files Browse the repository at this point in the history
  • Loading branch information
HexDecimal committed Dec 12, 2023
1 parent ee7a342 commit eaba43d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion delocate/delocating.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion delocate/tests/test_delocating.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit eaba43d

Please sign in to comment.