Skip to content

Commit

Permalink
Replace relative imports with absolute
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Hynes committed Mar 19, 2019
1 parent 71e16aa commit 49ef181
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions skspatial/objects/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from .point import Point, Points
from .vector import Vector
from .line import Line
from .plane import Plane
from skspatial.objects.point import Point, Points
from skspatial.objects.vector import Vector
from skspatial.objects.line import Line
from skspatial.objects.plane import Plane

__all__ = ['Point', 'Points', 'Vector', 'Line', 'Plane']
6 changes: 3 additions & 3 deletions skspatial/objects/line.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import numpy as np
from dpcontracts import require, ensure

from .base_line_plane import _BaseLinePlane
from .point import Point, Points
from .vector import Vector
from skspatial.objects.base_line_plane import _BaseLinePlane
from skspatial.objects.point import Point, Points
from skspatial.objects.vector import Vector


class Line(_BaseLinePlane):
Expand Down
8 changes: 4 additions & 4 deletions skspatial/objects/plane.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import numpy as np
from dpcontracts import require, ensure

from .base_line_plane import _BaseLinePlane
from .line import Line
from .point import Point, Points
from .vector import Vector
from skspatial.objects.base_line_plane import _BaseLinePlane
from skspatial.objects.line import Line
from skspatial.objects.point import Point, Points
from skspatial.objects.vector import Vector


class Plane(_BaseLinePlane):
Expand Down
4 changes: 2 additions & 2 deletions skspatial/objects/point.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
from dpcontracts import ensure
from numpy.linalg import matrix_rank

from .base_array import _BaseArray1D, _BaseArray2D, _normalize_dimension
from .vector import Vector
from skspatial.objects.base_array import _BaseArray1D, _BaseArray2D, _normalize_dimension
from skspatial.objects.vector import Vector


class Point(_BaseArray1D):
Expand Down
2 changes: 1 addition & 1 deletion skspatial/objects/vector.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from dpcontracts import require, ensure

from skspatial.constants import ATOL
from .base_array import _BaseArray1D, norm_dim
from skspatial.objects.base_array import _BaseArray1D, norm_dim


class Vector(_BaseArray1D):
Expand Down

0 comments on commit 49ef181

Please sign in to comment.