Skip to content

Commit

Permalink
Remove unnecessary import in util
Browse files Browse the repository at this point in the history
  • Loading branch information
hgrecco committed May 11, 2023
1 parent 623d004 commit 1adc26a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pint/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
from ._typing import Scalar

if TYPE_CHECKING:
from ._typing import Quantity, UnitLike, QuantityOrUnitLike
from ._typing import QuantityOrUnitLike
from .registry import UnitRegistry


Expand Down Expand Up @@ -1047,7 +1047,7 @@ def to_units_container(


def infer_base_unit(
unit_like: UnitLike | Quantity, registry: UnitRegistry | None = None
unit_like: QuantityOrUnitLike, registry: UnitRegistry | None = None
) -> UnitsContainer:
"""
Given a Quantity or UnitLike, give the UnitsContainer for it's plain units.
Expand Down

0 comments on commit 1adc26a

Please sign in to comment.