Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove redundant pragma: no cover comments #180

Merged
merged 1 commit into from
Nov 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading