Skip to content

Commit db4cb7d

Browse files
committed
consistent string interpolatoin
1 parent c8774a2 commit db4cb7d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

dedupe/variables/base.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,7 @@ def __init__(
9797
self.comparator = comparator
9898

9999
if name is None:
100-
self.name = "({}: {}, {})".format(
101-
self.field,
102-
self.type,
103-
self.comparator.__name__,
104-
)
100+
self.name = f"({self.field}: {self.type}, {self.comparator.__name__})"
105101
else:
106102
self.name = name
107103

0 commit comments

Comments
 (0)