Skip to content

Commit

Permalink
Merge pull request #180 from con/pragmata
Browse files Browse the repository at this point in the history
Remove redundant `pragma: no cover` comments
  • Loading branch information
yarikoptic authored Nov 9, 2023
2 parents 643b7a2 + 2962496 commit 44068cc
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 @@ -207,13 +207,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 @@ -273,7 +273,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 44068cc

Please sign in to comment.