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] authored and lbarcziova committed Sep 11, 2023
1 parent 2e250c4 commit 8e22e58
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion clone_roles.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ def _rotate_roles(self) -> List[str]:
# Remove the responsible of the first role and use the last
# of the candidates for the last one or in case of no candidates
# (=same number of people and roles), use the responsible of the first role
maintainers = maintainers[1:] + [next_candidate() if candidates else maintainers[0]]
maintainers = maintainers[1:] + [
next_candidate() if candidates else maintainers[0]
]
# Some maintainers who were active might not
# be in the PEOPLE set already.
# Replace them with someone from candidates.
Expand Down

0 comments on commit 8e22e58

Please sign in to comment.