From 42893a001d7381e9175ee86945409d91582f503a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 24 May 2024 18:46:04 +0200 Subject: [PATCH] :art: Format Python code with Black (#2366) Co-authored-by: alexAubin <4533074+alexAubin@users.noreply.github.com> --- store/app.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/store/app.py b/store/app.py index ab31695922..3862c00859 100644 --- a/store/app.py +++ b/store/app.py @@ -475,9 +475,17 @@ def dash(): # Sort by popularity by default stars = get_stars() - data = dict(sorted(get_dashboard_data().items(), key=lambda app: len(stars.get(app[0], [])), reverse=True)) + data = dict( + sorted( + get_dashboard_data().items(), + key=lambda app: len(stars.get(app[0], [])), + reverse=True, + ) + ) - return render_template("dash.html", data=data, stars=stars, last_data_update=get_dashboard_data.mtime) + return render_template( + "dash.html", data=data, stars=stars, last_data_update=get_dashboard_data.mtime + ) @app.route("/charts")