aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fuzzycat/matching.py3
-rw-r--r--setup.py5
2 files changed, 6 insertions, 2 deletions
diff --git a/fuzzycat/matching.py b/fuzzycat/matching.py
index 7fe2fd6..cbadbc2 100644
--- a/fuzzycat/matching.py
+++ b/fuzzycat/matching.py
@@ -140,7 +140,8 @@ def match_container_names(a: str, b: str) -> MatchStatus:
return MatchStatus.WEAK
# Address e.g. a char flip, but only, if we do not have diacritics.
- if (not asa["is_short_string"] and not asa["is_single_token"] and not asa["has_diacritics"] and hamming_distance(a, b) < 2):
+ if (not asa["is_short_string"] and not asa["is_single_token"] and not asa["has_diacritics"]
+ and hamming_distance(a, b) < 2):
return MatchStatus.STRONG
return MatchStatus.AMBIGIOUS
diff --git a/setup.py b/setup.py
index 0e1573b..d92432f 100644
--- a/setup.py
+++ b/setup.py
@@ -22,7 +22,10 @@ with open("README.md", "r") as fh:
],
python_requires=">=3.6",
zip_safe=False,
- entry_points={"console_scripts": ["fuzzycat=fuzzycat.main:main",],},
+ entry_points={"console_scripts": [
+ "fuzzycat=fuzzycat.main:main",
+ "fuzzycat-issn=fuzzycat.issn:main",
+ ],},
install_requires=[
"ftfy",
"fatcat-openapi-client",