From ff39592303928fb4a9ee6877f47a468d76f9a435 Mon Sep 17 00:00:00 2001 From: Chris Brew Date: Sat, 24 Feb 2024 14:59:39 -0500 Subject: [PATCH] added space --- eyecite/utils.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/eyecite/utils.py b/eyecite/utils.py index 509bc72..c5155eb 100644 --- a/eyecite/utils.py +++ b/eyecite/utils.py @@ -1,10 +1,8 @@ import hashlib import json import re - from lxml import etree - def strip_punct(text: str) -> str: """Strips punctuation from a given string Adapted from nltk Penn Treebank tokenizer @@ -122,7 +120,7 @@ def hash_sha256(dictionary: dict) -> int: """ # Convert the dictionary to a JSON string - json_str: str = json.dumps(dictionary, sort_keys=True,default=str) + json_str: str = json.dumps(dictionary, sort_keys=True, default=str) # Convert the JSON string to bytes json_bytes: bytes = json_str.encode("utf-8")