We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90cf9cc commit 9defa10Copy full SHA for 9defa10
src/auditwheel/repair.py
@@ -241,9 +241,9 @@ def _path_is_script(path: str) -> bool:
241
# Looks something like "uWSGI-2.0.21.data/scripts/uwsgi"
242
components = path.split("/")
243
return (
244
- len(components) == 3 and
245
- components[0].endswith(".data") and
246
- components[1] == "scripts"
+ len(components) == 3
+ and components[0].endswith(".data")
+ and components[1] == "scripts"
247
)
248
249
@@ -287,4 +287,6 @@ def _script_shim(binary_path: str) -> str:
287
os.path.join(sysconfig.get_path("platlib"), {binary_path!r}),
288
sys.argv,
289
290
-""".format(binary_path=binary_path)
+""".format(
291
+ binary_path=binary_path
292
+ )
0 commit comments