Merge pull request #1864 from YunoHost/actions/black

Format Python code with Black
This commit is contained in:
Alexandre Aubin 2024-06-03 13:22:37 +02:00 committed by GitHub
commit fb32842c89
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2968,8 +2968,10 @@ 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": str(manifest.get("integration", {}).get("helpers_version")
or manifest["packaging_format"]),
"YNH_HELPERS_VERSION": str(
manifest.get("integration", {}).get("helpers_version")
or manifest["packaging_format"]
),
"YNH_ARCH": system_arch(),
"YNH_DEBIAN_VERSION": debian_version(),
}