Skip to content

Commit

Permalink
Moved Locale import to TYPE_CHECKING section
Browse files Browse the repository at this point in the history
  • Loading branch information
hgrecco committed Jan 4, 2024
1 parent 17c2143 commit 9e0789c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pint/facets/plain/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@

if TYPE_CHECKING:
from ..context import Context
from ...compat import Locale

# from ..._typing import Quantity, Unit

Expand All @@ -62,7 +63,7 @@

from ... import pint_eval
from ..._vendor import appdirs
from ...compat import TypeAlias, Self, deprecated, Locale
from ...compat import TypeAlias, Self, deprecated
from ...errors import DimensionalityError, RedefinitionError, UndefinedUnitError
from ...pint_eval import build_eval_tree
from ...util import ParserHelper
Expand Down

0 comments on commit 9e0789c

Please sign in to comment.