@@ -36,29 +36,29 @@ def execute(args, p):
36
36
logger .info ('This does not look like a platform wheel' )
37
37
return 1
38
38
39
- libs_with_versions = ['%s with versions %s' % ( k , v )
39
+ libs_with_versions = [f' { k } with versions { v } '
40
40
for k , v in winfo .versioned_symbols .items ()]
41
41
42
42
printp ('%s is consistent with the following platform tag: "%s".' %
43
43
(fn , winfo .overall_tag ))
44
44
45
45
if get_priority_by_name (winfo .pyfpe_tag ) < POLICY_PRIORITY_HIGHEST :
46
- printp (( 'This wheel uses the PyFPE_jbuf function, which is not '
47
- 'compatible with the manylinux1 tag. (see '
48
- 'https://www.python.org/dev/peps/pep-0513/#fpectl-builds-vs-no-fpectl-builds)' ) ) # noqa
46
+ printp ('This wheel uses the PyFPE_jbuf function, which is not '
47
+ 'compatible with the manylinux1 tag. (see '
48
+ 'https://www.python.org/dev/peps/pep-0513/#fpectl-builds-vs-no-fpectl-builds)' ) # noqa
49
49
if args .verbose < 1 :
50
50
return
51
51
52
52
if get_priority_by_name (winfo .ucs_tag ) < POLICY_PRIORITY_HIGHEST :
53
- printp (( 'This wheel is compiled against a narrow unicode (UCS2) '
54
- 'version of Python, which is not compatible with the '
55
- 'manylinux1 tag.' ) )
53
+ printp ('This wheel is compiled against a narrow unicode (UCS2) '
54
+ 'version of Python, which is not compatible with the '
55
+ 'manylinux1 tag.' )
56
56
if args .verbose < 1 :
57
57
return
58
58
59
59
if len (libs_with_versions ) == 0 :
60
- printp (( " The wheel references no external versioned symbols from "
61
- " system-provided shared libraries." ) )
60
+ printp (' The wheel references no external versioned symbols from '
61
+ ' system-provided shared libraries.' )
62
62
else :
63
63
printp ('The wheel references external versioned symbols in these '
64
64
'system-provided shared libraries: %s' %
@@ -77,8 +77,8 @@ def execute(args, p):
77
77
if len (libs ) == 0 :
78
78
printp ('The wheel requires no external shared libraries! :)' )
79
79
else :
80
- printp (( 'The following external shared libraries are required '
81
- 'by the wheel:' ) )
80
+ printp ('The following external shared libraries are required '
81
+ 'by the wheel:' )
82
82
print (json .dumps (OrderedDict (sorted (libs .items ())), indent = 4 ))
83
83
84
84
for p in sorted (load_policies (), key = lambda p : p ['priority' ]):
0 commit comments