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 Oct 8, 2020
1 parent ebdebb7 commit ea165d1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -722,8 +722,8 @@ def __eq__(self, other: Any) -> bool:
def __getitem__(self, index: int) -> DataCoordinate:
pass

@overload # noqa: F811
def __getitem__(self, index: slice) -> DataCoordinateSequence:
@overload # noqa: F811 (FIXME: remove for py 3.8+)
def __getitem__(self, index: slice) -> DataCoordinateSequence: # noqa: F811
pass

def __getitem__(self, index: Any) -> Any: # noqa: F811
Expand Down

0 comments on commit ea165d1

Please sign in to comment.