Skip to content

Commit fea5cb2

Browse files
committed
format
1 parent e06f237 commit fea5cb2

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

textattack/shared/attacked_text.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,10 @@ def __eq__(self, other):
9292
return False
9393
else:
9494
if isinstance(self.attack_attrs[key], AttackedText):
95-
if not self.attack_attrs[key]._text_input == other.attack_attrs[key]._text_input:
95+
if (
96+
not self.attack_attrs[key]._text_input
97+
== other.attack_attrs[key]._text_input
98+
):
9699
return False
97100
return True
98101

0 commit comments

Comments
 (0)