From e750459b291b080126c7c8c40af9b9b90a02cc9e Mon Sep 17 00:00:00 2001 From: "reekeer[bot]" Date: Mon, 16 Mar 2026 16:06:29 +0000 Subject: [PATCH] style(black): format code --- scripts/reekeerBot.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/reekeerBot.py b/scripts/reekeerBot.py index e68db26..cbb2bf4 100644 --- a/scripts/reekeerBot.py +++ b/scripts/reekeerBot.py @@ -93,7 +93,9 @@ def create_jwt(*, app_id: int, private_key_path: Path) -> str: # PyJWT expects "iss" to be a string. "iss": str(app_id), } - return jwt.encode(payload, private_key, algorithm="RS256") # pyright: ignore[reportUnknownMemberType] + return jwt.encode( + payload, private_key, algorithm="RS256" + ) # pyright: ignore[reportUnknownMemberType] def installation_token(config: Config) -> str: @@ -166,7 +168,7 @@ def _cleanup_artifacts() -> None: check=False, quiet=True, ) - + def ruff_fix() -> list[dict[str, Any]]: run_shell("ruff check . --fix", check=False, quiet=True) @@ -416,13 +418,13 @@ def main() -> None: branch = create_branch() _cleanup_artifacts() - + ruff = ruff_fix() black_fix() pyright = pyright_scan() _cleanup_artifacts() - + push(token=token, repo=config.repo, branch=branch) pr = create_pr(token=token, repo=config.repo, branch=branch, base_branch=config.base_branch)