Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 3, 2023
1 parent 90cf9cc commit 9defa10
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/auditwheel/repair.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,9 @@ def _path_is_script(path: str) -> bool:
# Looks something like "uWSGI-2.0.21.data/scripts/uwsgi"
components = path.split("/")
return (
len(components) == 3 and
components[0].endswith(".data") and
components[1] == "scripts"
len(components) == 3
and components[0].endswith(".data")
and components[1] == "scripts"
)


Expand Down Expand Up @@ -287,4 +287,6 @@ def _script_shim(binary_path: str) -> str:
os.path.join(sysconfig.get_path("platlib"), {binary_path!r}),
sys.argv,
)
""".format(binary_path=binary_path)
""".format(
binary_path=binary_path
)

0 comments on commit 9defa10

Please sign in to comment.