[UPD] format script python

This commit is contained in:
Mathieu Benoit 2023-01-23 23:26:01 -05:00
parent 85a1ff04f1
commit 3208f8f4dc
2 changed files with 8 additions and 3 deletions

View file

@ -324,7 +324,9 @@ def add_configuration(dct_xml, file_name, config):
conf_full["@folderName"] = conf_folder
lst_configuration_full.insert(0, conf_full)
else:
_logger.info(f"Configuration already exist: '{s_unique_key}'")
_logger.info(
f"Configuration already exist: '{s_unique_key}'"
)
else:
_logger.error(f"Cannot read file '{PATH_DEFAULT_CONFIGURATION}'")
return has_change

View file

@ -692,13 +692,16 @@ def check_git_change():
run_command(
"./script/code_generator/check_git_change_code_generator.sh",
"./addons/TechnoLibre_odoo-code-generator-template",
test_name="Init check_git_change TechnoLibre_odoo-code-generator-template",
test_name=(
"Init check_git_change"
" TechnoLibre_odoo-code-generator-template"
),
),
run_command(
"./script/code_generator/check_git_change_code_generator.sh",
"./addons/OCA_server-tools",
test_name="Init check_git_change OCA_server-tools",
)
),
]
commands = asyncio.gather(*task_list)
tpl_result = loop.run_until_complete(commands)