|
5 | 5 | import semver |
6 | 6 |
|
7 | 7 | from semvertag._outcome import AlreadyTagged, Created, DryRun, NoBump, NoTags, Outcome |
8 | | -from semvertag._types import Bump, CheckResult, Commit, Tag |
| 8 | +from semvertag._types import Bump, Commit, Tag |
9 | 9 | from semvertag._use_case import SemvertagUseCase, _compute_new_version, _select_latest_semver_tag |
10 | 10 |
|
11 | 11 |
|
@@ -62,18 +62,6 @@ def list_tags(self) -> list[Tag]: |
62 | 62 | def create_tag(self, name: str, commit_sha: str) -> None: |
63 | 63 | self.create_tag_calls.append((name, commit_sha)) |
64 | 64 |
|
65 | | - def check_token(self) -> CheckResult: # pragma: no cover |
66 | | - return CheckResult(name="token", status="passed", cause="stub") |
67 | | - |
68 | | - def check_scopes(self) -> CheckResult: # pragma: no cover |
69 | | - return CheckResult(name="scopes", status="passed", cause="stub") |
70 | | - |
71 | | - def check_project_access(self) -> CheckResult: # pragma: no cover |
72 | | - return CheckResult(name="project_access", status="passed", cause="stub") |
73 | | - |
74 | | - def check_protected_tags(self) -> CheckResult: # pragma: no cover |
75 | | - return CheckResult(name="protected_tags", status="passed", cause="stub") |
76 | | - |
77 | 65 |
|
78 | 66 | @dataclasses.dataclass(slots=True, kw_only=True) |
79 | 67 | class _StubStrategy: |
|
0 commit comments