Skip to content

Commit 6765867

Browse files
committed
chore: Manually fix linter errors
1 parent 4df8bbd commit 6765867

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

aws-opentelemetry-distro/src/amazon/opentelemetry/distro/_aws_metric_attribute_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ def _generate_remote_operation(span: ReadableSpan) -> str:
374374
return remote_operation
375375

376376

377-
# pylint: disable=too-many-branches
377+
# pylint: disable=too-many-branches,too-many-statements
378378
def _set_remote_type_and_identifier(span: ReadableSpan, attributes: BoundedAttributes) -> None:
379379
"""
380380
Remote resource attributes {@link AwsAttributeKeys#AWS_REMOTE_RESOURCE_TYPE} and {@link

aws-opentelemetry-distro/src/amazon/opentelemetry/distro/patches/_botocore_patches.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ def extract_attributes(self, attributes: _AttributeMapT):
230230
if secret_id and secret_id.startswith("arn:aws:secretsmanager:"):
231231
attributes[AWS_SECRETSMANAGER_SECRET_ARN] = secret_id
232232

233+
# pylint: disable=no-self-use
233234
def on_success(self, span: Span, result: _BotoResultT):
234235
secret_arn = result.get("ARN")
235236
if secret_arn:

0 commit comments

Comments
 (0)