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