Skip to content

Commit

Permalink
Fix mypy again
Browse files Browse the repository at this point in the history
  • Loading branch information
ocelotl committed Dec 1, 2022
1 parent 500cb1f commit 774a67e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion opentelemetry-api/src/opentelemetry/context/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# pylint: disable=import-error
from importlib_metadata import entry_points # type: ignore
else:
from importlib.metadata import entry_points # type: ignore
from importlib.metadata import entry_points

# pylint: disable=wrong-import-position
from opentelemetry.context.context import Context, _RuntimeContext
Expand Down
2 changes: 1 addition & 1 deletion opentelemetry-api/src/opentelemetry/propagate/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def example_route():
# pylint: disable=import-error
from importlib_metadata import entry_points # type: ignore
else:
from importlib.metadata import entry_points # type: ignore
from importlib.metadata import entry_points

logger = getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion opentelemetry-api/src/opentelemetry/util/_providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# pylint: disable=import-error
from importlib_metadata import entry_points # type: ignore
else:
from importlib.metadata import entry_points # type: ignore
from importlib.metadata import entry_points

if TYPE_CHECKING:
from opentelemetry.metrics import MeterProvider
Expand Down

0 comments on commit 774a67e

Please sign in to comment.