Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 10, 2024
1 parent 39dd930 commit a879bda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clone_roles.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ def _rotate_roles(self) -> List[str]:
candidates = list(PEOPLE - set(maintainers))
random.shuffle(candidates)

next_candidate = (
lambda: candidates.pop() if candidates else random.choice(list(PEOPLE))
next_candidate = lambda: (
candidates.pop() if candidates else random.choice(list(PEOPLE))
)

# Remove the responsible of the first role and use the last
Expand Down

0 comments on commit a879bda

Please sign in to comment.