Skip to content

Commit

Permalink
Fix the uncomparables check
Browse files Browse the repository at this point in the history
  • Loading branch information
suchow committed May 17, 2021
1 parent 68d43c1 commit 8a1cdc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proselint/checks/uncomparables/misc.py
Expand Up @@ -114,7 +114,7 @@ def check(text):
("more", "possible") # FIXME
]

all = [r"\\b" + i[0] + r"\s" + i[1] + r"[\W$]" for i in itertools.product(
all = [i[0] + r"\s" + i[1] + r"[\W$]" for i in itertools.product(
comparators, uncomparables) if i not in exceptions]

occ = re.finditer("|".join(all), text.lower())
Expand Down

0 comments on commit 8a1cdc1

Please sign in to comment.