[CI] Format code with Black

This commit is contained in:
yunohost-bot 2023-06-12 00:30:59 +00:00
parent e1569f962b
commit 2f982e26a9
2 changed files with 11 additions and 2 deletions

View file

@ -1653,7 +1653,14 @@ def app_shell(app):
app -- App ID
"""
subprocess.run(['/bin/bash', '-c', 'source /usr/share/yunohost/helpers && ynh_spawn_app_shell '+app])
subprocess.run(
[
"/bin/bash",
"-c",
"source /usr/share/yunohost/helpers && ynh_spawn_app_shell " + app,
]
)
def app_register_url(app, domain, path):
"""

View file

@ -1259,7 +1259,9 @@ def user_group_update(
)
if mail in new_group_mail:
new_group_mail.remove(mail)
logger.info(m18n.n("group_mailalias_remove", group=groupname, mail=mail))
logger.info(
m18n.n("group_mailalias_remove", group=groupname, mail=mail)
)
else:
raise YunohostValidationError("mail_alias_remove_failed", mail=mail)