Skip to content

Commit 9defa10

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 90cf9cc commit 9defa10

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/auditwheel/repair.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,9 +241,9 @@ def _path_is_script(path: str) -> bool:
241241
# Looks something like "uWSGI-2.0.21.data/scripts/uwsgi"
242242
components = path.split("/")
243243
return (
244-
len(components) == 3 and
245-
components[0].endswith(".data") and
246-
components[1] == "scripts"
244+
len(components) == 3
245+
and components[0].endswith(".data")
246+
and components[1] == "scripts"
247247
)
248248

249249

@@ -287,4 +287,6 @@ def _script_shim(binary_path: str) -> str:
287287
os.path.join(sysconfig.get_path("platlib"), {binary_path!r}),
288288
sys.argv,
289289
)
290-
""".format(binary_path=binary_path)
290+
""".format(
291+
binary_path=binary_path
292+
)

0 commit comments

Comments
 (0)