From 23bfe9fcadc1e205fbce1b6cf58fc3004eecace3 Mon Sep 17 00:00:00 2001 From: Diego Hurtado Date: Wed, 24 Aug 2022 17:39:22 +0200 Subject: [PATCH] Fix lint --- .../src/opentelemetry/instrumentation/falcon/__init__.py | 2 +- .../src/opentelemetry/instrumentation/flask/__init__.py | 2 +- .../src/opentelemetry/instrumentation/tornado/__init__.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/instrumentation/opentelemetry-instrumentation-falcon/src/opentelemetry/instrumentation/falcon/__init__.py b/instrumentation/opentelemetry-instrumentation-falcon/src/opentelemetry/instrumentation/falcon/__init__.py index b0e4c7dc61..b123203c77 100644 --- a/instrumentation/opentelemetry-instrumentation-falcon/src/opentelemetry/instrumentation/falcon/__init__.py +++ b/instrumentation/opentelemetry-instrumentation-falcon/src/opentelemetry/instrumentation/falcon/__init__.py @@ -141,9 +141,9 @@ def response_hook(span, req, resp): --- """ -from time import time_ns from logging import getLogger from sys import exc_info +from time import time_ns from typing import Collection import falcon diff --git a/instrumentation/opentelemetry-instrumentation-flask/src/opentelemetry/instrumentation/flask/__init__.py b/instrumentation/opentelemetry-instrumentation-flask/src/opentelemetry/instrumentation/flask/__init__.py index 375b44887c..77f227d15d 100644 --- a/instrumentation/opentelemetry-instrumentation-flask/src/opentelemetry/instrumentation/flask/__init__.py +++ b/instrumentation/opentelemetry-instrumentation-flask/src/opentelemetry/instrumentation/flask/__init__.py @@ -141,9 +141,9 @@ def response_hook(span: Span, status: str, response_headers: List): """ from logging import getLogger +from time import time_ns from timeit import default_timer from typing import Collection -from time import time_ns import flask diff --git a/instrumentation/opentelemetry-instrumentation-tornado/src/opentelemetry/instrumentation/tornado/__init__.py b/instrumentation/opentelemetry-instrumentation-tornado/src/opentelemetry/instrumentation/tornado/__init__.py index 3c118034aa..ed0122a7e8 100644 --- a/instrumentation/opentelemetry-instrumentation-tornado/src/opentelemetry/instrumentation/tornado/__init__.py +++ b/instrumentation/opentelemetry-instrumentation-tornado/src/opentelemetry/instrumentation/tornado/__init__.py @@ -156,8 +156,8 @@ def client_resposne_hook(span, future): from collections import namedtuple from functools import partial from logging import getLogger -from typing import Collection from time import time_ns +from typing import Collection import tornado.web import wrapt