🎨 Format Python code with Black

This commit is contained in:
tituspijean 2024-04-10 20:32:30 +00:00 committed by github-actions[bot]
parent 835303200d
commit ff6b6954aa

View file

@ -152,7 +152,11 @@ class AppResource:
"__APP__": self.app,
"__YNH_ARCH__": system_arch(),
"__YNH_DEBIAN_VERSION__": debian_version(),
"__YNH_APP_UPSTREAM_VERSION__": manager.wanted["version"].split("~")[0] if manager.wanted else manager.current["version"].split("~")[0],
"__YNH_APP_UPSTREAM_VERSION__": (
manager.wanted["version"].split("~")[0]
if manager.wanted
else manager.current["version"].split("~")[0]
),
}
def recursive_apply(function: Callable, data: Any) -> Any: