Merge pull request #1852 from YunoHost/actions/black

Format Python code with Black
This commit is contained in:
Alexandre Aubin 2024-05-27 16:58:39 +02:00 committed by GitHub
commit 55cfc46cdd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2968,7 +2968,8 @@ def _make_environment_for_app_script(
"YNH_APP_INSTANCE_NUMBER": str(app_instance_nb),
"YNH_APP_MANIFEST_VERSION": manifest.get("version", "?"),
"YNH_APP_PACKAGING_FORMAT": str(manifest["packaging_format"]),
"YNH_HELPERS_VERSION": manifest.get("integration", {}).get("helpers_version") or manifest["packaging_format"],
"YNH_HELPERS_VERSION": manifest.get("integration", {}).get("helpers_version")
or manifest["packaging_format"],
"YNH_ARCH": system_arch(),
"YNH_DEBIAN_VERSION": debian_version(),
}