From 5b8382d0fff61d6834ed10c85e0448e9f006d14e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 20:11:24 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/installer/records.py | 2 +- src/installer/sources.py | 2 +- src/installer/utils.py | 14 +++++++------- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/installer/records.py b/src/installer/records.py index a25611a..3f8df71 100644 --- a/src/installer/records.py +++ b/src/installer/records.py @@ -13,8 +13,8 @@ __all__ = [ "Hash", - "RecordEntry", "InvalidRecordEntry", + "RecordEntry", "parse_record_file", ] diff --git a/src/installer/sources.py b/src/installer/sources.py index 71644f6..5ba48ce 100644 --- a/src/installer/sources.py +++ b/src/installer/sources.py @@ -25,7 +25,7 @@ WheelContentElement = tuple[tuple[str, str, str], BinaryIO, bool] -__all__ = ["WheelSource", "WheelFile"] +__all__ = ["WheelFile", "WheelSource"] class WheelSource: diff --git a/src/installer/utils.py b/src/installer/utils.py index b7b59f7..7df3e05 100644 --- a/src/installer/utils.py +++ b/src/installer/utils.py @@ -32,16 +32,16 @@ AllSchemes = tuple[Scheme, ...] __all__ = [ - "parse_metadata_file", - "parse_wheel_filename", + "SCHEME_NAMES", + "WheelFilename", + "construct_record_file", "copyfileobj_with_hashing", - "get_launcher_kind", "fix_shebang", - "construct_record_file", - "parse_entrypoints", + "get_launcher_kind", "make_file_executable", - "WheelFilename", - "SCHEME_NAMES", + "parse_entrypoints", + "parse_metadata_file", + "parse_wheel_filename", ] # Borrowed from https://github.com/python/cpython/blob/v3.9.1/Lib/shutil.py#L52