Skip to content

Commit a98aadd

Browse files
FEATURE_GET_TLV_PROPERTIES: fix pylint C0209 warning
FEATURE_GET_TLV_PROPERTIES.py:46:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string) FEATURE_GET_TLV_PROPERTIES.py:48:18: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
1 parent 10e84f5 commit a98aadd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

UnitaryTests/FEATURE_GET_TLV_PROPERTIES.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@
4343
"PCSCv2_PART10_PROPERTY_wIdProduct",
4444
"PCSCv2_PART10_PROPERTY_wIdVendor",
4545
]:
46-
print("%s: 0x%04X" % (key, tlv[key]))
46+
print(f"{key}: 0x{tlv[key]:04X}")
4747
else:
48-
print("%s: %s" % (key, tlv[key]))
48+
print(f"{key}: {tlv[key]}")

0 commit comments

Comments
 (0)