Skip to content

Commit

Permalink
git: Reformat to comply with code style
Browse files Browse the repository at this point in the history
You think I would've learned by now.
  • Loading branch information
OatmealDome committed Apr 21, 2024
1 parent ce873d9 commit 23a43bb
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions central/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,15 @@ def run(self):
evt.pusher,
)

release_ver_evt = events.NewReleaseVersion(commit_hash, evt.ref_name, evt.pusher)
release_ver_evt = events.NewReleaseVersion(
commit_hash, evt.ref_name, evt.pusher
)
events.dispatcher.dispatch("repomanager", release_ver_evt)
else:
commits = [utils.ObjectLike(c) for c in evt.commits]
distinct_commits = [c for c in commits if c.distinct and c.message.strip()]
distinct_commits = [
c for c in commits if c.distinct and c.message.strip()
]
logging.info(
"[%s] push received with %d commits",
self.repo_name,
Expand All @@ -129,7 +133,9 @@ def run(self):
)
continue

desc = self.repo.git_cli("describe", "--always", "--long", commit.hash)
desc = self.repo.git_cli(
"describe", "--always", "--long", commit.hash
)
shortrev = desc.rsplit("-", 1)[0]

author = self.repo.commit_log(commit.hash, "%an")
Expand Down

0 comments on commit 23a43bb

Please # to comment.