From 7b333ce263ec8072db05d50eab6631057bd38d27 Mon Sep 17 00:00:00 2001 From: Gabriel Gerlero Date: Thu, 20 Jul 2023 18:33:12 -0300 Subject: [PATCH] Fix typos --- electrolytes/__main__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/electrolytes/__main__.py b/electrolytes/__main__.py index 98271f3..ece2952 100644 --- a/electrolytes/__main__.py +++ b/electrolytes/__main__.py @@ -9,10 +9,10 @@ app = typer.Typer() -def complete_name(ctx: Context, patam: Parameter, incomplete: str) -> List[str]: +def complete_name(ctx: Context, param: Parameter, incomplete: str) -> List[str]: return [name for name in database if name.startswith(incomplete)] -def complete_name_user_defined(ctx: Context, patam: Parameter, incomplete: str) -> List[str]: +def complete_name_user_defined(ctx: Context, param: Parameter, incomplete: str) -> List[str]: return [name for name in database.user_defined() if name.startswith(incomplete)]