Skip to content

Commit

Permalink
Fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Donaim committed Sep 20, 2024
1 parent 4a8665d commit 34a46a7
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions src/aligntools/int_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,20 @@

class FrozenIntDict(ABC, Mapping[int, int]):
@abstractproperty
def domain(self) -> AbstractSet[int]:
...
def domain(self) -> AbstractSet[int]: ...

@abstractproperty
def codomain(self) -> AbstractSet[int]:
...
def codomain(self) -> AbstractSet[int]: ...

@abstractmethod
def left_max(self, index: int) -> Optional[int]:
...
def left_max(self, index: int) -> Optional[int]: ...

@abstractmethod
def right_min(self, index: int) -> Optional[int]:
...
def right_min(self, index: int) -> Optional[int]: ...

@abstractmethod
def translate(self, domain_delta: int, codomain_delta: int) \
-> 'IntDict':
...
-> 'IntDict': ...


class IntDict(FrozenIntDict):
Expand Down

0 comments on commit 34a46a7

Please sign in to comment.