[CI] Format code with Black

This commit is contained in:
yunohost-bot 2022-12-23 20:08:53 +00:00
parent ba60ece609
commit 5d0ce8d2a8
2 changed files with 4 additions and 1 deletions

View file

@ -2365,7 +2365,9 @@ def _check_manifest_requirements(manifest: Dict, action: str):
logger.debug(m18n.n("app_requirements_checking", app=app_id))
# Yunohost version requirement
yunohost_requirement = version.parse(manifest["integration"]["yunohost"].strip(">= ") or "4.3")
yunohost_requirement = version.parse(
manifest["integration"]["yunohost"].strip(">= ") or "4.3"
)
yunohost_installed_version = version.parse(
get_ynh_package_version("yunohost")["version"]
)

View file

@ -457,6 +457,7 @@ investigate :
try:
import smtplib
smtp = smtplib.SMTP("localhost")
smtp.sendmail(from_, [to_], message.encode("utf-8"))
smtp.quit()