Skip to content

Commit

Permalink
Format with black
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Stopak <jacob@initialcommit.io>
  • Loading branch information
initialcommit-io committed Apr 1, 2023
1 parent d69063c commit 6c342fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions git_sim/git_sim_base_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def parse_commits(
try:
commitParents = list(commit.parents)
except AttributeError:
if ((len(self.drawnCommits) + self.n_dark_commits) < self.n_default):
if (len(self.drawnCommits) + self.n_dark_commits) < self.n_default:
self.n_dark_commits += 1
self.parse_commits(self.create_dark_commit(), i, circle)
return
Expand All @@ -159,7 +159,7 @@ def parse_commits(
for p in range(len(commitParents)):
self.parse_commits(commitParents[p], i, circle)
else:
if ((len(self.drawnCommits) + self.n_dark_commits) < self.n_default):
if (len(self.drawnCommits) + self.n_dark_commits) < self.n_default:
self.n_dark_commits += 1
self.parse_commits(self.create_dark_commit(), i, circle)

Expand Down

0 comments on commit 6c342fa

Please sign in to comment.