Skip to content

Commit

Permalink
🎨 Format Python code with Black
Browse files Browse the repository at this point in the history
  • Loading branch information
alexAubin committed Nov 23, 2024
1 parent 65b51eb commit de2f5d2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion server.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,11 @@ def user_noping(user: str) -> str:
if repository == "apps_translations":
return empty()
# for apps repo, only notify for apps that are in the hardcoded most popular apps
elif repository.endswith("_ynh") and hook_type != "repository" and repository not in MOST_POPULAR_APPS:
elif (
repository.endswith("_ynh")
and hook_type != "repository"
and repository not in MOST_POPULAR_APPS
):
return empty()

# https://developer.github.com/v3/activity/events/types/#pushevent
Expand Down

0 comments on commit de2f5d2

Please sign in to comment.