Skip to content

Commit

Permalink
style(pre-commit.ci): auto fixes [...]
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jun 28, 2024
1 parent 5ea650d commit 3c31c6f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions x.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,10 @@ def __len__(self) -> int:
return len(self.selected_wells) * self.points_per_well

@overload
def __getitem__(self, index: int) -> Position:
...
def __getitem__(self, index: int) -> Position: ...

@overload
def __getitem__(self, index: slice) -> Sequence[Position]:
...
def __getitem__(self, index: slice) -> Sequence[Position]: ...

def __getitem__(self, index: int | slice) -> Position | Sequence[Position]:
return self._selected_well_centers[index]
Expand Down

0 comments on commit 3c31c6f

Please sign in to comment.