Skip to content

Commit 11529f3

Browse files
committed
fix shim lint
1 parent d17ce3c commit 11529f3

File tree

8 files changed

+24
-8
lines changed

8 files changed

+24
-8
lines changed

exporter/opentelemetry-exporter-otlp-proto-grpc/tests/test_otlp_exporter_mixin.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
import threading
1616
import time
1717
import unittest
18-
from concurrent.futures import ThreadPoolExecutor
18+
from concurrent.futures import ( # pylint: disable=no-name-in-module
19+
ThreadPoolExecutor,
20+
)
1921
from logging import WARNING, getLogger
2022
from platform import system
2123
from typing import Any, Optional, Sequence

shim/opentelemetry-opentracing-shim/tests/testbed/test_active_span_replacement/test_threads.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from concurrent.futures import ThreadPoolExecutor
15+
from concurrent.futures import ( # pylint: disable=no-name-in-module
16+
ThreadPoolExecutor,
17+
)
1618

1719
# pylint: disable=import-error
1820
from ..otel_ot_shim_tracer import MockTracer

shim/opentelemetry-opentracing-shim/tests/testbed/test_common_request_handler/test_threads.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from concurrent.futures import ThreadPoolExecutor
15+
from concurrent.futures import ( # pylint: disable=no-name-in-module
16+
ThreadPoolExecutor,
17+
)
1618

1719
from opentracing.ext import tags
1820

shim/opentelemetry-opentracing-shim/tests/testbed/test_late_span_finish/test_threads.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
# limitations under the License.
1414

1515
import time
16-
from concurrent.futures import ThreadPoolExecutor
16+
from concurrent.futures import ( # pylint: disable=no-name-in-module
17+
ThreadPoolExecutor,
18+
)
1719

1820
# pylint: disable=import-error
1921
from ..otel_ot_shim_tracer import MockTracer

shim/opentelemetry-opentracing-shim/tests/testbed/test_listener_per_request/test_threads.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from concurrent.futures import ThreadPoolExecutor
15+
from concurrent.futures import ( # pylint: disable=no-name-in-module
16+
ThreadPoolExecutor,
17+
)
1618

1719
from opentracing.ext import tags
1820

shim/opentelemetry-opentracing-shim/tests/testbed/test_multiple_callbacks/test_threads.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414

1515
import random
1616
import time
17-
from concurrent.futures import ThreadPoolExecutor
17+
from concurrent.futures import ( # pylint: disable=no-name-in-module
18+
ThreadPoolExecutor,
19+
)
1820

1921
# pylint: disable=import-error
2022
from ..otel_ot_shim_tracer import MockTracer

shim/opentelemetry-opentracing-shim/tests/testbed/test_nested_callbacks/test_threads.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from concurrent.futures import ThreadPoolExecutor
15+
from concurrent.futures import ( # pylint: disable=no-name-in-module
16+
ThreadPoolExecutor,
17+
)
1618

1719
# pylint: disable=import-error
1820
from ..otel_ot_shim_tracer import MockTracer

shim/opentelemetry-opentracing-shim/tests/testbed/test_subtask_span_propagation/test_threads.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from concurrent.futures import ThreadPoolExecutor
15+
from concurrent.futures import ( # pylint: disable=no-name-in-module
16+
ThreadPoolExecutor,
17+
)
1618

1719
# pylint: disable=import-error
1820
from ..otel_ot_shim_tracer import MockTracer

0 commit comments

Comments
 (0)