Skip to content

Commit 7f66522

Browse files
committed
Fix lint
1 parent 46e3150 commit 7f66522

File tree

1 file changed

+1
-1
lines changed
  • opentelemetry-api/src/opentelemetry/attributes

1 file changed

+1
-1
lines changed

opentelemetry-api/src/opentelemetry/attributes/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def _clean_attribute(
120120

121121
def _clean_extended_attribute_value(
122122
value: types.AnyValue, max_len: Optional[int]
123-
) -> types.AnyValue: # disable=too-many-branches
123+
) -> types.AnyValue: # pylint: disable=too-many-branches
124124
# for primitive types just return the value and eventually shorten the string length
125125
if value is None or isinstance(value, _VALID_ATTR_VALUE_TYPES):
126126
if max_len is not None and isinstance(value, str):

0 commit comments

Comments
 (0)