From 2d3d71cc46e359e59d20bef8c307ac5384d7aa30 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 18:17:54 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v5.0.0) - [github.com/psf/black: 22.12.0 → 24.10.0](https://github.com/psf/black/compare/22.12.0...24.10.0) - [github.com/PyCQA/isort: 5.12.0 → 5.13.2](https://github.com/PyCQA/isort/compare/5.12.0...5.13.2) - [github.com/PyCQA/flake8: 6.0.0 → 7.1.1](https://github.com/PyCQA/flake8/compare/6.0.0...7.1.1) --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a2f4ca5..8a7363e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v5.0.0 hooks: - id: check-added-large-files # prevents adding large files - id: detect-private-key # detects private keys @@ -10,17 +10,17 @@ repos: - id: trailing-whitespace # prevents trailing whitespace - repo: https://github.com/psf/black - rev: 22.12.0 + rev: 24.10.0 hooks: - id: black language_version: python3.10 - repo: https://github.com/PyCQA/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort - repo: https://github.com/PyCQA/flake8 - rev: 6.0.0 + rev: 7.1.1 hooks: - id: flake8 \ No newline at end of file From 038325be6647fa28b3ce90415f094ac6f392f1b1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 18:19:35 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .github/workflows/scripts/register_flows.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/scripts/register_flows.py b/.github/workflows/scripts/register_flows.py index 14b469b..121a6ed 100644 --- a/.github/workflows/scripts/register_flows.py +++ b/.github/workflows/scripts/register_flows.py @@ -91,7 +91,11 @@ def build_and_register( # pylint: disable=too-many-branches while attempts < max_retries: attempts += 1 try: - (flow_id, flow_version, is_new,) = register_serialized_flow( + ( + flow_id, + flow_version, + is_new, + ) = register_serialized_flow( client=client, serialized_flow=serialized_flow, project_id=project_id,