Skip to content

Commit 9411d0f

Browse files
authored
chore: update ruff (#70)
Signed-off-by: gruebel <[email protected]>
1 parent 46ca726 commit 9411d0f

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.2.1
4+
rev: v0.3.3
55
hooks:
66
- id: ruff
77
args: [--fix]

hooks/openfeature-hooks-opentelemetry/src/openfeature/contrib/hook/opentelemetry/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ def after(
3232
}
3333

3434
if hook_context.provider_metadata:
35-
event_attributes[
36-
EventAttributes.PROVIDER_NAME
37-
] = hook_context.provider_metadata.name
35+
event_attributes[EventAttributes.PROVIDER_NAME] = (
36+
hook_context.provider_metadata.name
37+
)
3838

3939
current_span.add_event(OTEL_EVENT_NAME, event_attributes)
4040

0 commit comments

Comments
 (0)