Skip to content

Commit

Permalink
move temp types to top
Browse files Browse the repository at this point in the history
  • Loading branch information
benkiel committed Nov 2, 2024
1 parent bc74716 commit 5c63abc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Lib/fontParts/base/glyph.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@
from fontParts.base.component import BaseComponent
from fontParts.base.anchor import BaseAnchor
from fontParts.base.image import BaseImage
TempContourListType = List[
Tuple[int, int, IntFloatType, IntFloatType, IntFloatType, BaseContour]
]
ContourListType = List[
Tuple[int, int, FuzzyNumber, FuzzyNumber, IntFloatType, BaseContour]
]


class BaseGlyph(
Expand Down Expand Up @@ -2247,12 +2253,6 @@ def _autoContourOrder(self, **kwargs: Any) -> None:
:param \**kwargs: Additional keyword arguments.
"""
TempContourListType = List[
Tuple[int, int, IntFloatType, IntFloatType, IntFloatType, BaseContour]
]
ContourListType = List[
Tuple[int, int, FuzzyNumber, FuzzyNumber, IntFloatType, BaseContour]
]
tempContourList: TempContourListType = []
contourList: ContourListType = []
xThreshold: Optional[IntFloatType] = None
Expand Down

0 comments on commit 5c63abc

Please sign in to comment.