From 02e3e857a5bd450ed71850fe3406efd86d92107d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Jul 2024 22:30:43 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- clone_roles.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clone_roles.py b/clone_roles.py index f7ec632..2377541 100644 --- a/clone_roles.py +++ b/clone_roles.py @@ -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