Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#499)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/pycqa/isort: 5.11.4 → 5.12.0](PyCQA/isort@5.11.4...5.12.0)
- [github.com/psf/black: 22.12.0 → 23.1.0](psf/black@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>
  • Loading branch information
pre-commit-ci[bot] authored Mar 10, 2023
1 parent 895558f commit 182efc0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand All @@ -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]
Expand Down
1 change: 0 additions & 1 deletion src/wheel/bdist_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ def remove_readonly(func, path, excinfo):


class bdist_wheel(Command):

description = "create a wheel distribution"

supported_compressions = OrderedDict(
Expand Down
2 changes: 1 addition & 1 deletion src/wheel/macosx_libfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 182efc0

Please sign in to comment.