Skip to content

Commit

Permalink
🎨 Format Python code with Black (#2366)
Browse files Browse the repository at this point in the history
Co-authored-by: alexAubin <4533074+alexAubin@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and alexAubin authored May 24, 2024
1 parent 32fd827 commit 42893a0
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions store/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 42893a0

Please sign in to comment.