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] 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(