linter workflow

This commit is contained in:
2025-04-02 00:34:34 +03:00
parent 6edd17646a
commit 285007a59a
2 changed files with 32 additions and 1 deletions
+2 -1
View File
@@ -83,7 +83,8 @@ class InputCommand(BaseCommand, Generic[InputCommandType]):
if current_flag_name:
if not len(list_of_tokens) == k+1:
if not list_of_tokens[k+1].startswith('-'): continue
if not list_of_tokens[k+1].startswith('-'):
continue
input_flag = InputFlag(name=current_flag_name[current_flag_name.rfind('-')+1:],
prefix=cast(Literal['-', '--', '---'],