From 75096a2c3f373989fad17a7a5881724074174874 Mon Sep 17 00:00:00 2001 From: Aaron Abbott Date: Wed, 3 Jun 2020 19:52:37 +0000 Subject: [PATCH] undo lint changes to boto files for some reason `scripts/eachdist.py lint` is not in sync with `tox lint` and it messes up CI --- .../src/opentelemetry/ext/boto/__init__.py | 2 +- ext/opentelemetry-ext-boto/tests/test_boto_instrumentation.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/opentelemetry-ext-boto/src/opentelemetry/ext/boto/__init__.py b/ext/opentelemetry-ext-boto/src/opentelemetry/ext/boto/__init__.py index 0831dec4179..fa66fda61dd 100644 --- a/ext/opentelemetry-ext-boto/src/opentelemetry/ext/boto/__init__.py +++ b/ext/opentelemetry-ext-boto/src/opentelemetry/ext/boto/__init__.py @@ -47,9 +47,9 @@ import logging from inspect import currentframe +from boto.connection import AWSAuthConnection, AWSQueryConnection from wrapt import ObjectProxy, wrap_function_wrapper -from boto.connection import AWSAuthConnection, AWSQueryConnection from opentelemetry.auto_instrumentation.instrumentor import BaseInstrumentor from opentelemetry.ext.boto.version import __version__ from opentelemetry.trace import SpanKind, get_tracer diff --git a/ext/opentelemetry-ext-boto/tests/test_boto_instrumentation.py b/ext/opentelemetry-ext-boto/tests/test_boto_instrumentation.py index 9fa3605fe70..492fac5a883 100644 --- a/ext/opentelemetry-ext-boto/tests/test_boto_instrumentation.py +++ b/ext/opentelemetry-ext-boto/tests/test_boto_instrumentation.py @@ -19,6 +19,7 @@ import boto.elasticache import boto.s3 import boto.sts + from moto import ( # pylint: disable=import-error mock_ec2_deprecated, mock_lambda_deprecated,