Skip to content

Commit

Permalink
Moved babel.Locale to TYPE_CHECKING part
Browse files Browse the repository at this point in the history
  • Loading branch information
hgrecco committed Jan 18, 2024
1 parent efea263 commit fbdfaa2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pint/delegates/formatter/_unit_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@

import locale

from ...compat import Locale, babel_parse, Number
from ...compat import babel_parse


if TYPE_CHECKING:
from ...registry import UnitRegistry
from ...facets.plain import PlainUnit
from ...compat import Locale, Number

T = TypeVar("T")

Expand Down

0 comments on commit fbdfaa2

Please sign in to comment.