Skip to content

Commit

Permalink
Update F811 annotations for py 3.7+3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
brianv0 committed Sep 24, 2020
1 parent ec03fae commit d3274a9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions python/lsst/geom/_Angle.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
from ._geom import Angle, AngleUnit


@continueClass # noqa F811
class AngleUnit:
@continueClass # noqa F811 (FIXME: remove for py 3.8+)
class AngleUnit: # noqa F811

def __mul__(self, other):
if isinstance(other, (Angle, AngleUnit)):
Expand Down
4 changes: 2 additions & 2 deletions python/lsst/geom/_Box.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
from ._geom import Box2I


@continueClass # noqa: F811
class Box2I:
@continueClass # noqa: F811 (FIXME: remove for py 3.8+)
class Box2I: # noqa F811

def grid(self, dtype=np.int32):
"""Return pair of arrays with the centers of all pixels in the box.
Expand Down
4 changes: 2 additions & 2 deletions python/lsst/geom/_Interval.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
from ._geom import IntervalI


@continueClass # noqa: F811
class IntervalI:
@continueClass # noqa: F811 (FIXME: remove for py 3.8+)
class IntervalI: # noqa F811

def range(self):
"""Return a `range` object containing all points in the interval.
Expand Down
4 changes: 2 additions & 2 deletions python/lsst/geom/_SpherePoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
from ._geom import SpherePoint


@continueClass # noqa F811
class SpherePoint:
@continueClass # noqa F811 (FIXME: remove for py 3.8+)
class SpherePoint: # noqa F811

def __iter__(self):
for i in (0, 1):
Expand Down

0 comments on commit d3274a9

Please sign in to comment.