Skip to content

Commit 5edba8e

Browse files
committed
fix issues pointed by the linter
1 parent bb75bde commit 5edba8e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/makim/cli/auto_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def create_dynamic_command(
222222
args_param_list.append(f'"--{arg}": {arg_clean}')
223223

224224
args_param_str = '{' + ','.join(args_param_list) + '}'
225-
group_name = name.split('.')[0]
225+
group_name = name.split('.', maxsplit=1)[0]
226226

227227
decorator = app.command(
228228
name,

0 commit comments

Comments
 (0)