@@ -339,16 +339,13 @@ def create_cmd(abs_circuit_filepath, abs_arch_filepath, config, args, circuit, n
339339 # Collect any extra script params from the config file
340340 cmd = [abs_circuit_filepath , abs_arch_filepath ]
341341
342-
343342 # Resolve and collect all include paths in the config file
344343 # as -include ["include1", "include2", ..]
345344 includes = []
346345 if config .includes :
347346 cmd += ["-include" ]
348347 for include in config .includes :
349- abs_include_filepath = resolve_vtr_source_file (
350- config , include , config .include_dir
351- )
348+ abs_include_filepath = resolve_vtr_source_file (config , include , config .include_dir )
352349 includes .append (abs_include_filepath )
353350
354351 cmd += includes
@@ -379,9 +376,7 @@ def create_cmd(abs_circuit_filepath, abs_arch_filepath, config, args, circuit, n
379376 ]
380377
381378 cmd += (
382- ["--fix_pins" , resolve_vtr_source_file (config , config .pad_file )]
383- if config .pad_file
384- else []
379+ ["--fix_pins" , resolve_vtr_source_file (config , config .pad_file )] if config .pad_file else []
385380 )
386381
387382 if config .sdc_dir :
@@ -441,7 +436,6 @@ def create_cmd(abs_circuit_filepath, abs_arch_filepath, config, args, circuit, n
441436 return includes , parse_cmd , second_parse_cmd , qor_parse_command , cmd
442437
443438
444-
445439# pylint: disable=too-many-branches
446440def create_jobs (args , configs , after_run = False ):
447441 """
@@ -474,9 +468,9 @@ def create_jobs(args, configs, after_run=False):
474468 )
475469 )
476470
477- includes , parse_cmd , second_parse_cmd , qor_parse_command , cmd = create_cmd (abs_circuit_filepath ,
478- abs_arch_filepath , config ,
479- args , circuit , noc_traffic )
471+ includes , parse_cmd , second_parse_cmd , qor_parse_command , cmd = create_cmd (
472+ abs_circuit_filepath , abs_arch_filepath , config , args , circuit , noc_traffic
473+ )
480474
481475 if config .script_params_list_add :
482476 for value in config .script_params_list_add :
0 commit comments