Skip to content

Commit 2a6fab4

Browse files
federico-e-martinezanselor
authored andcommitted
more changes to comply with formatting
1 parent 384f292 commit 2a6fab4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cmd2/utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1275,7 +1275,7 @@ def similarity_function(s1: str, s2: str) -> float:
12751275

12761276

12771277
def suggest_similar(
1278-
requested_command: str, options: Iterable[str], similarity_function_to_use: Optional[Callable[[str, str], float]] = None
1278+
requested_command: str, options: Iterable[str], similarity_function_to_use: Optional[Callable[[str, str], float]] = None
12791279
) -> Optional[str]:
12801280
"""
12811281
Given a requested command and an iterable of possible options
@@ -1285,7 +1285,6 @@ def suggest_similar(
12851285
:param options: The list of avaiable commands to search for the most similar
12861286
:param similarity_function_to_use: An optional callable to use to compare commands
12871287
:returns The most similar command or None if no one is similar
1288-
12891288
"""
12901289
proposed_command = None
12911290
best_simil = MIN_SIMIL_TO_CONSIDER

0 commit comments

Comments
 (0)