@@ -97,15 +97,15 @@ def run(
9797 if non_interactive is True :
9898 cli_args .append ("--non-interactive" )
9999 if username is not None :
100- cli_args .append ( f "--username { username } " )
100+ cli_args .extend ([ "--username" , username ] )
101101 if password is not None :
102- cli_args .append ( f "--password { password } " )
102+ cli_args .extend ([ "--password" , password ] )
103103 if trust_server_cert is True :
104104 cli_args .append ("--trust-server_cert" )
105105 if config_dir is not None :
106- cli_args .append ( "--config-dir { config_dir}" )
106+ cli_args .extend ([ "--config-dir" , str ( config_dir )] )
107107 if config_option is not None :
108- cli_args .append ( "--config-option { config_option}" )
108+ cli_args .extend ([ "--config-option" , str ( config_option )] )
109109
110110 return run (cmd = cli_args , ** kwargs )
111111
@@ -246,7 +246,7 @@ def auth(
246246 local_flags : list [str ] = [* args ]
247247
248248 if remove is not None :
249- local_flags .append ( f "--remove { remove } " )
249+ local_flags .extend ([ "--remove" , remove ] )
250250 if show_passwords is True :
251251 local_flags .append ("--show-passwords" )
252252
@@ -316,7 +316,7 @@ def blame(
316316 if xml is True :
317317 local_flags .append ("--xml" )
318318 if extensions is not None :
319- local_flags .append ( f "--extensions { extensions } " )
319+ local_flags .extend ([ "--extensions" , extensions ] )
320320 if force is True :
321321 local_flags .append ("--force" )
322322
@@ -417,7 +417,7 @@ def commit(
417417 if no_unlock is True :
418418 local_flags .append ("--no-unlock" )
419419 if file is not None :
420- local_flags .append ( f "--file { file } " )
420+ local_flags .extend ([ "--file" , str ( file )] )
421421 if force_log is True :
422422 local_flags .append ("--force" )
423423 if include_externals is True :
0 commit comments