From 5ac61faa29a01debf19ea71fbb6cf48b0ac820ff Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Wed, 12 Aug 2020 13:13:27 +0200 Subject: try: all matching methods should start with match --- fuzzycat/__init__.py | 2 +- fuzzycat/matching.py | 2 +- 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 -- cgit v1.2.3