Skip to content

Commit

Permalink
consistent string interpolatoin
Browse files Browse the repository at this point in the history
  • Loading branch information
fgregg committed Aug 10, 2024
1 parent c8774a2 commit db4cb7d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions dedupe/variables/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,7 @@ def __init__(
self.comparator = comparator

if name is None:
self.name = "({}: {}, {})".format(
self.field,
self.type,
self.comparator.__name__,
)
self.name = f"({self.field}: {self.type}, {self.comparator.__name__})"
else:
self.name = name

Expand Down

0 comments on commit db4cb7d

Please sign in to comment.