diff options
author | pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> | 2023-03-10 17:56:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-10 17:56:20 +0200 |
commit | 182efc0833286e5d75f83ef082db2f8209ee3c4e (patch) | |
tree | ac666fc7ee0b2d4956bd5d4d8bd7f85255ea4ae9 | |
parent | 895558fc74f694dc6132723cfee58752d14c1482 (diff) | |
download | wheel-git-182efc0833286e5d75f83ef082db2f8209ee3c4e.tar.gz |
[pre-commit.ci] pre-commit autoupdate (#499)
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pycqa/isort: 5.11.4 → 5.12.0](https://github.com/pycqa/isort/compare/5.11.4...5.12.0)
- [github.com/psf/black: 22.12.0 → 23.1.0](https://github.com/psf/black/compare/22.12.0...23.1.0)
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
-rw-r--r-- | .pre-commit-config.yaml | 4 | ||||
-rw-r--r-- | src/wheel/bdist_wheel.py | 1 | ||||
-rw-r--r-- | src/wheel/macosx_libfile.py | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 33fb9ea..21e13b0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,7 +18,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/pycqa/isort - rev: 5.11.4 + rev: 5.12.0 hooks: - id: isort args: ["-a", "from __future__ import annotations"] @@ -30,7 +30,7 @@ repos: args: ["--py37-plus"] - repo: https://github.com/psf/black - rev: 22.12.0 + rev: 23.1.0 hooks: - id: black args: [--target-version=py37] diff --git a/src/wheel/bdist_wheel.py b/src/wheel/bdist_wheel.py index 4b81be5..c41583c 100644 --- a/src/wheel/bdist_wheel.py +++ b/src/wheel/bdist_wheel.py @@ -120,7 +120,6 @@ def remove_readonly(func, path, excinfo): class bdist_wheel(Command): - description = "create a wheel distribution" supported_compressions = OrderedDict( diff --git a/src/wheel/macosx_libfile.py b/src/wheel/macosx_libfile.py index 4d08574..3d19984 100644 --- a/src/wheel/macosx_libfile.py +++ b/src/wheel/macosx_libfile.py @@ -423,7 +423,7 @@ def calculate_macosx_platform_tag(archive_root, platform_tag): assert len(base_version) == 2 start_version = base_version versions_dict = {} - for (dirpath, _dirnames, filenames) in os.walk(archive_root): + for dirpath, _dirnames, filenames in os.walk(archive_root): for filename in filenames: if filename.endswith(".dylib") or filename.endswith(".so"): lib_path = os.path.join(dirpath, filename) |