Skip to content

Commit

Permalink
fix(clean): Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
flooie committed Mar 4, 2025
1 parent 81a891b commit 763d0f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion eyecite/clean.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ def all_whitespace(text: str) -> str:
Returns:
Text with collapsed whitespace characters.
"""
WHITESPACE_REGEX = r"[ \t\n\r\f\v\u00A0\u2002\u2003\u2009\u200B\u202F\u205F]+"
WHITESPACE_REGEX = (
r"[ \t\n\r\f\v\u00A0\u2002\u2003\u2009\u200B\u202F\u205F]+"
)
return re.sub(WHITESPACE_REGEX, " ", text)


Expand Down

0 comments on commit 763d0f8

Please sign in to comment.