Skip to content

Commit

Permalink
Edit type hint to allow no NumPy installation
Browse files Browse the repository at this point in the history
  • Loading branch information
bbye98 committed Nov 12, 2023
1 parent 2c5c8d6 commit 2ae1e24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/minim/utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

def levenshtein_ratio(
base: str, values: Union[str, list[str]]
) -> Union[float, list[float], np.ndarray[float]]:
) -> Union[float, list[float], "np.ndarray[float]"]:

"""
Compute the Levenshtein ratio, a measure of similarity, for
Expand Down

0 comments on commit 2ae1e24

Please sign in to comment.