Skip to content

Commit 9a6aed1

Browse files
committed
fix: modified library sorted via isort tool
1 parent f3157b1 commit 9a6aed1

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

Diff for: instrumentation/opentelemetry-instrumentation-threading/src/opentelemetry/instrumentation/threading/__init__.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@
3333

3434
import threading
3535
from typing import Collection
36-
from opentelemetry.instrumentation.instrumentor import BaseInstrumentor
36+
37+
from wrapt import wrap_function_wrapper
38+
39+
from opentelemetry import context, trace
3740
from opentelemetry.instrumentation.instrumentor import BaseInstrumentor
3841
from opentelemetry.instrumentation.threading.package import _instruments
3942
from opentelemetry.instrumentation.threading.version import __version__
40-
from opentelemetry import context, trace
41-
from opentelemetry.instrumentation.instrumentor import BaseInstrumentor
4243
from opentelemetry.instrumentation.utils import unwrap
43-
from wrapt import wrap_function_wrapper
4444

4545

4646
class ThreadingInstrumentor(BaseInstrumentor):

Diff for: instrumentation/opentelemetry-instrumentation-threading/tests/test_threading.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from concurrent import futures
1615
import threading
17-
from opentelemetry.test.test_base import TestBase
18-
from opentelemetry.instrumentation.threading import ThreadingInstrumentor
16+
from concurrent import futures
17+
1918
from opentelemetry import trace
19+
from opentelemetry.instrumentation.threading import ThreadingInstrumentor
20+
from opentelemetry.test.test_base import TestBase
2021

2122

2223
class TestThreading(TestBase):

0 commit comments

Comments
 (0)