Skip to content

Commit

Permalink
opentelemetry-instrumentation: fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
xrmx committed Sep 13, 2024
1 parent 55bdcec commit 5e6a586
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
# limitations under the License.

from argparse import REMAINDER, ArgumentParser
from opentelemetry.util._importlib_metadata import entry_points
from logging import getLogger
from os import environ, execl, getcwd
from os.path import abspath, dirname, pathsep
from re import sub
from shutil import which

from opentelemetry.instrumentation.version import __version__
from opentelemetry.util._importlib_metadata import entry_points

_logger = getLogger(__name__)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from opentelemetry.util._importlib_metadata import (
EntryPoint, distributions, entry_points
)
from logging import getLogger
from os import environ

Expand All @@ -28,6 +25,11 @@
OTEL_PYTHON_DISTRO,
)
from opentelemetry.instrumentation.version import __version__
from opentelemetry.util._importlib_metadata import (
EntryPoint,
distributions,
entry_points,
)

_logger = getLogger(__name__)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
import argparse
import logging
import sys
from opentelemetry.util._importlib_metadata import (
PackageNotFoundError, version
)
from subprocess import (
PIPE,
CalledProcessError,
Expand All @@ -33,6 +30,10 @@
libraries,
)
from opentelemetry.instrumentation.version import __version__
from opentelemetry.util._importlib_metadata import (
PackageNotFoundError,
version,
)

logger = logging.getLogger(__name__)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,17 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from opentelemetry.util._importlib_metadata import (
Distribution, PackageNotFoundError, version
)
from logging import getLogger
from typing import Collection, Optional, Union

from packaging.requirements import InvalidRequirement, Requirement

from opentelemetry.util._importlib_metadata import (
Distribution,
PackageNotFoundError,
version,
)

logger = getLogger(__name__)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
"""

from abc import ABC, abstractmethod
from opentelemetry.util._importlib_metadata import EntryPoint
from logging import getLogger

from opentelemetry.instrumentation.instrumentor import BaseInstrumentor
from opentelemetry.util._importlib_metadata import EntryPoint

_LOG = getLogger(__name__)

Expand Down

0 comments on commit 5e6a586

Please sign in to comment.