Skip to content

Commit 24b11e1

Browse files
chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.9.0 (#149)
* chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.9.0 * fmt Signed-off-by: gruebel <[email protected]> --------- Signed-off-by: gruebel <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: gruebel <[email protected]>
1 parent 542d271 commit 24b11e1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
default_stages: [commit]
22
repos:
33
- repo: https://github.com/astral-sh/ruff-pre-commit
4-
rev: v0.8.6
4+
rev: v0.9.0
55
hooks:
66
- id: ruff
77
args: [--fix]

providers/openfeature-provider-flagd/tests/e2e/steps.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -594,9 +594,9 @@ def assert_handlers(
594594

595595
logging.info(f"asserting num({event_type}) >= {num_events}: {handles}")
596596
actual_num_events = sum([h["type"] == event_type for h in handles])
597-
assert (
598-
num_events <= actual_num_events
599-
), f"Expected {num_events} but got {actual_num_events}: {handles}"
597+
assert num_events <= actual_num_events, (
598+
f"Expected {num_events} but got {actual_num_events}: {handles}"
599+
)
600600

601601

602602
@then(

0 commit comments

Comments
 (0)