Skip to content

Commit

Permalink
Remove redundant pragma: no cover comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jwodder committed Nov 9, 2023
1 parent e0ad333 commit 2962496
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/tinuous/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,13 +202,13 @@ class CISystem(ABC, BaseModel):
@staticmethod
@abstractmethod
def get_auth_tokens() -> dict[str, str]:
... # pragma: no cover
...

@abstractmethod
def get_build_assets(
self, event_types: list[EventType], logs: bool, artifacts: bool
) -> Iterator[BuildAsset]:
... # pragma: no cover
...

def register_build(self, ts: datetime, processed: bool) -> None:
heapq.heappush(self.fetched, (ts, processed))
Expand Down Expand Up @@ -268,7 +268,7 @@ def expand_path(self, path_template: str, variables: dict[str, str]) -> str:

@abstractmethod
def download(self, path: Path) -> list[Path]:
... # pragma: no cover
...


class BuildLog(BuildAsset):
Expand Down
4 changes: 2 additions & 2 deletions src/tinuous/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class CIConfig(NoExtraModel, ABC):
@staticmethod
@abstractmethod
def get_auth_tokens() -> dict[str, str]:
... # pragma: no cover
...

@abstractmethod
def get_system(
Expand All @@ -61,7 +61,7 @@ def get_system(
until: Optional[datetime],
tokens: dict[str, str],
) -> CISystem:
... # pragma: no cover
...

def gets_builds(self) -> bool:
return self.paths.gets_builds()
Expand Down

0 comments on commit 2962496

Please sign in to comment.