From bd0e2441b7d6ef6d9535b8a7587a6e519e1b031d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 9 Jan 2025 15:55:56 +0000 Subject: [PATCH 1/2] chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.9.0 --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 23c715b..49fd0bc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ default_stages: [commit] repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.6 + rev: v0.9.0 hooks: - id: ruff args: [--fix] From c33feee6d7d1cdfc28ed865d84002170323f4ffa Mon Sep 17 00:00:00 2001 From: gruebel Date: Fri, 10 Jan 2025 19:06:23 +0100 Subject: [PATCH 2/2] fmt Signed-off-by: gruebel --- providers/openfeature-provider-flagd/tests/e2e/steps.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/providers/openfeature-provider-flagd/tests/e2e/steps.py b/providers/openfeature-provider-flagd/tests/e2e/steps.py index b1325af..aa0b64d 100644 --- a/providers/openfeature-provider-flagd/tests/e2e/steps.py +++ b/providers/openfeature-provider-flagd/tests/e2e/steps.py @@ -594,9 +594,9 @@ def assert_handlers( logging.info(f"asserting num({event_type}) >= {num_events}: {handles}") actual_num_events = sum([h["type"] == event_type for h in handles]) - assert ( - num_events <= actual_num_events - ), f"Expected {num_events} but got {actual_num_events}: {handles}" + assert num_events <= actual_num_events, ( + f"Expected {num_events} but got {actual_num_events}: {handles}" + ) @then(