Skip to content

Commit fa21efa

Browse files
committed
Apply ruff formatting
1 parent a77f25e commit fa21efa

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • instrumentation/opentelemetry-instrumentation-celery/src/opentelemetry/instrumentation/celery

instrumentation/opentelemetry-instrumentation-celery/src/opentelemetry/instrumentation/celery/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,9 @@ def get(self, carrier, key):
111111
if isinstance(value, str):
112112
value = (value,)
113113
elif isinstance(value, Iterable):
114-
value = tuple(str(v) if not isinstance(v, str) else v for v in value)
114+
value = tuple(
115+
str(v) if not isinstance(v, str) else v for v in value
116+
)
115117
else:
116118
value = (str(value),)
117119
return value

0 commit comments

Comments
 (0)