@@ -97,15 +97,15 @@ def run(
97
97
if non_interactive is True :
98
98
cli_args .append ("--non-interactive" )
99
99
if username is not None :
100
- cli_args .append ( f "--username { username } " )
100
+ cli_args .extend ([ "--username" , username ] )
101
101
if password is not None :
102
- cli_args .append ( f "--password { password } " )
102
+ cli_args .extend ([ "--password" , password ] )
103
103
if trust_server_cert is True :
104
104
cli_args .append ("--trust-server_cert" )
105
105
if config_dir is not None :
106
- cli_args .append ( "--config-dir { config_dir}" )
106
+ cli_args .extend ([ "--config-dir" , str ( config_dir )] )
107
107
if config_option is not None :
108
- cli_args .append ( "--config-option { config_option}" )
108
+ cli_args .extend ([ "--config-option" , str ( config_option )] )
109
109
110
110
return run (cmd = cli_args , ** kwargs )
111
111
@@ -246,7 +246,7 @@ def auth(
246
246
local_flags : list [str ] = [* args ]
247
247
248
248
if remove is not None :
249
- local_flags .append ( f "--remove { remove } " )
249
+ local_flags .extend ([ "--remove" , remove ] )
250
250
if show_passwords is True :
251
251
local_flags .append ("--show-passwords" )
252
252
@@ -316,7 +316,7 @@ def blame(
316
316
if xml is True :
317
317
local_flags .append ("--xml" )
318
318
if extensions is not None :
319
- local_flags .append ( f "--extensions { extensions } " )
319
+ local_flags .extend ([ "--extensions" , extensions ] )
320
320
if force is True :
321
321
local_flags .append ("--force" )
322
322
@@ -417,7 +417,7 @@ def commit(
417
417
if no_unlock is True :
418
418
local_flags .append ("--no-unlock" )
419
419
if file is not None :
420
- local_flags .append ( f "--file { file } " )
420
+ local_flags .extend ([ "--file" , str ( file )] )
421
421
if force_log is True :
422
422
local_flags .append ("--force" )
423
423
if include_externals is True :
0 commit comments