Merge pull request #1430 from YunoHost/ci-format-dev

[CI] Format code with Black
This commit is contained in:
Alexandre Aubin 2022-01-31 03:40:29 +01:00 committed by GitHub
commit 83dfc0590d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 4 deletions

View file

@ -1144,7 +1144,11 @@ class AppQuestion(Question):
apps = app_list(full=True)["apps"]
if self.filter:
apps = [app for app in apps if evaluate_simple_js_expression(self.filter, context=app)]
apps = [
app
for app in apps
if evaluate_simple_js_expression(self.filter, context=app)
]
def _app_display(app):
domain_path_or_id = f" ({app.get('domain_path', app['id'])})"