Skip to content

Commit 0b65642

Browse files
committed
linting fix
1 parent c796162 commit 0b65642

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,11 @@ def __init__(
3636
self._aws_region = None
3737

3838
if endpoint and is_otlp_endpoint_cloudwatch(endpoint):
39-
try:
40-
# Defensive check to verify that the application being auto instrumented has
41-
# botocore installed.
4239

40+
# Defensive check to verify that the application being auto instrumented has
41+
# botocore installed.
42+
try:
43+
# pylint: disable=import-outside-toplevel
4344
from botocore import auth, awsrequest, session
4445

4546
self.boto_auth = auth

0 commit comments

Comments
 (0)