File tree Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -55,17 +55,15 @@ def configure_parser(sub_parsers):
55
55
"-L" ,
56
56
"--lib-sdir" ,
57
57
dest = "LIB_SDIR" ,
58
- help = (
59
- "Subdirectory in packages to store copied libraries." ' (default: ".libs")'
60
- ),
58
+ help = ('Subdirectory in packages to store copied libraries. (default: ".libs")' ),
61
59
default = ".libs" ,
62
60
)
63
61
p .add_argument (
64
62
"-w" ,
65
63
"--wheel-dir" ,
66
64
dest = "WHEEL_DIR" ,
67
65
type = abspath ,
68
- help = (" Directory to store delocated wheels (default:" ' "wheelhouse/")' ),
66
+ help = (' Directory to store delocated wheels (default: "wheelhouse/")' ),
69
67
default = "wheelhouse/" ,
70
68
)
71
69
p .add_argument (
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ def _verify_patchelf() -> None:
37
37
m = re .match (r"patchelf\s+(\d+(.\d+)?)" , version )
38
38
if m and tuple (int (x ) for x in m .group (1 ).split ("." )) >= (0 , 14 ):
39
39
return
40
- msg = f"patchelf { version } found. auditwheel repair requires " " patchelf >= 0.14."
40
+ msg = f"patchelf { version } found. auditwheel repair requires patchelf >= 0.14."
41
41
raise ValueError (msg )
42
42
43
43
Original file line number Diff line number Diff line change @@ -984,7 +984,7 @@ def test_build_wheel_compat(
984
984
policy_ = f"{ pep600_policy } _{ PLATFORM } "
985
985
aliases_ = [f"{ p } _{ PLATFORM } " for p in aliases ]
986
986
if target_policy == policy_ or target_policy in aliases_ :
987
- target_tag = f' { policy_ } .{ "." .join (aliases_ )} '
987
+ target_tag = f" { policy_ } .{ '.' .join (aliases_ )} "
988
988
989
989
only_plat_arg = "--only-plat" if only_plat else ""
990
990
# we shall ba able to repair the wheel for all targets
@@ -1010,9 +1010,9 @@ def test_build_wheel_compat(
1010
1010
1011
1011
with zipfile .ZipFile (os .path .join (io_folder , repaired_wheel )) as z :
1012
1012
for file in z .namelist ():
1013
- assert not file .startswith (
1014
- "testsimple .libs"
1015
- ), "should not have empty .libs folder"
1013
+ assert not file .startswith ("testsimple.libs" ), (
1014
+ "should not have empty .libs folder "
1015
+ )
1016
1016
1017
1017
docker_exec (docker_python , f"pip install /io/{ repaired_wheel } " )
1018
1018
docker_exec (
You can’t perform that action at this time.
0 commit comments