cleanup
This commit is contained in:
parent
ed021e3d81
commit
ff8ca92963
13 changed files with 29 additions and 24 deletions
|
|
@ -121,7 +121,7 @@ class Shape(FlippableImpl, PivotableImpl, RepeatableImpl, AnnotatableImpl,
|
|||
Returns:
|
||||
List of `Polygon` objects with grid-aligned edges.
|
||||
"""
|
||||
from . import Polygon
|
||||
from . import Polygon #noqa: PLC0415
|
||||
|
||||
gx = numpy.unique(grid_x)
|
||||
gy = numpy.unique(grid_y)
|
||||
|
|
@ -250,9 +250,9 @@ class Shape(FlippableImpl, PivotableImpl, RepeatableImpl, AnnotatableImpl,
|
|||
Returns:
|
||||
List of `Polygon` objects with grid-aligned edges.
|
||||
"""
|
||||
from . import Polygon
|
||||
import skimage.measure # type: ignore
|
||||
import float_raster
|
||||
from . import Polygon #noqa: PLC0415
|
||||
import skimage.measure #noqa: PLC0415
|
||||
import float_raster #noqa: PLC0415
|
||||
|
||||
grx = numpy.unique(grid_x)
|
||||
gry = numpy.unique(grid_y)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue