We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46ca726 commit 9411d0fCopy full SHA for 9411d0f
.pre-commit-config.yaml
@@ -1,7 +1,7 @@
1
default_stages: [commit]
2
repos:
3
- repo: https://github.com/astral-sh/ruff-pre-commit
4
- rev: v0.2.1
+ rev: v0.3.3
5
hooks:
6
- id: ruff
7
args: [--fix]
hooks/openfeature-hooks-opentelemetry/src/openfeature/contrib/hook/opentelemetry/__init__.py
@@ -32,9 +32,9 @@ def after(
32
}
33
34
if hook_context.provider_metadata:
35
- event_attributes[
36
- EventAttributes.PROVIDER_NAME
37
- ] = hook_context.provider_metadata.name
+ event_attributes[EventAttributes.PROVIDER_NAME] = (
+ hook_context.provider_metadata.name
+ )
38
39
current_span.add_event(OTEL_EVENT_NAME, event_attributes)
40
0 commit comments