Skip to content

Commit

Permalink
added space
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Brew committed Feb 24, 2024
1 parent c1bfe63 commit ff39592
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions eyecite/utils.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit ff39592

Please sign in to comment.