aboutsummaryrefslogtreecommitdiffstats
path: root/fuzzycat
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2020-08-12 13:13:27 +0200
committerMartin Czygan <martin.czygan@gmail.com>2020-08-12 13:13:27 +0200
commit5ac61faa29a01debf19ea71fbb6cf48b0ac820ff (patch)
treef54a8eedb99ba086c9c472056074853364b5807f /fuzzycat
parent0761a410526445c108739f5920d374360396d09f (diff)
downloadfuzzycat-5ac61faa29a01debf19ea71fbb6cf48b0ac820ff.tar.gz
fuzzycat-5ac61faa29a01debf19ea71fbb6cf48b0ac820ff.zip
try: all matching methods should start with match
Diffstat (limited to 'fuzzycat')
-rw-r--r--fuzzycat/__init__.py2
-rw-r--r--fuzzycat/matching.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/fuzzycat/__init__.py b/fuzzycat/__init__.py
index 39cdbc6..d2ce116 100644
--- a/fuzzycat/__init__.py
+++ b/fuzzycat/__init__.py
@@ -1,5 +1,5 @@
__version__ = "0.1.1"
+from fuzzycat.matching import match_container_name
from fuzzycat.status import MatchStatus
from fuzzycat.utils import *
-from fuzzycat.matching import compare_container_name
diff --git a/fuzzycat/matching.py b/fuzzycat/matching.py
index 0c482e0..92aad8a 100644
--- a/fuzzycat/matching.py
+++ b/fuzzycat/matching.py
@@ -7,7 +7,7 @@ from fuzzycat import MatchStatus, StringPipeline, StringAnnotator
from fuzzycat.utils import *
-def compare_container_name(a: str, b: str) -> MatchStatus:
+def match_container_names(a: str, b: str) -> MatchStatus:
"""
Given two strings representing container names, return a match status. This
would be a subproblem of verify_container_match in cases where only a