[Pather/RenderPather/PatherMixin] clean up imports
This commit is contained in:
parent
da35019dc8
commit
e3c1c46b10
@ -7,13 +7,9 @@ import copy
|
||||
import logging
|
||||
from pprint import pformat
|
||||
|
||||
import numpy
|
||||
from numpy import pi
|
||||
from numpy.typing import ArrayLike
|
||||
|
||||
from ..pattern import Pattern
|
||||
from ..library import ILibrary
|
||||
from ..error import PortError, BuildError
|
||||
from ..error import BuildError
|
||||
from ..ports import PortList, Port
|
||||
from ..utils import SupportsBool
|
||||
from .tools import Tool
|
||||
|
||||
@ -1,19 +1,18 @@
|
||||
from typing import SupportsFloat, cast, TYPE_CHECKING, Iterator, Self
|
||||
from collections.abc import Sequence, Mapping, MutableMapping
|
||||
from typing import Self
|
||||
from collections.abc import Sequence, Iterator
|
||||
import logging
|
||||
from contextlib import contextmanager
|
||||
from abc import abstractmethod, ABCMeta
|
||||
|
||||
import numpy
|
||||
from numpy import pi
|
||||
from numpy.typing import ArrayLike, NDArray
|
||||
from numpy.typing import ArrayLike
|
||||
|
||||
from ..pattern import Pattern
|
||||
from ..library import ILibrary
|
||||
from ..error import PortError, BuildError
|
||||
from ..ports import PortList, Port
|
||||
from ..utils import rotation_matrix_2d, SupportsBool
|
||||
from ..abstract import Abstract
|
||||
#from ..abstract import Abstract
|
||||
from .tools import Tool
|
||||
from .utils import ell
|
||||
|
||||
|
||||
@ -8,13 +8,12 @@ import logging
|
||||
from collections import defaultdict
|
||||
from pprint import pformat
|
||||
|
||||
import numpy
|
||||
from numpy import pi
|
||||
from numpy.typing import ArrayLike
|
||||
|
||||
from ..pattern import Pattern
|
||||
from ..library import ILibrary
|
||||
from ..error import PortError, BuildError
|
||||
from ..error import BuildError
|
||||
from ..ports import PortList, Port
|
||||
from ..abstract import Abstract
|
||||
from ..utils import SupportsBool
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user