fix tests and lint

This commit is contained in:
Elizabeth Thompson
2023-10-25 14:31:09 -07:00
parent 49e0016265
commit 8c0e5f5078
11 changed files with 25 additions and 29 deletions
+3 -2
View File
@@ -16,11 +16,12 @@
# under the License.
import subprocess
from typing import Any
class BashMock:
@staticmethod
def tag_latest_release(tag):
def tag_latest_release(tag: str) -> Any:
bash_command = f"./scripts/tag_latest_release.sh {tag} --dry-run"
result = subprocess.run(
bash_command,
@@ -32,7 +33,7 @@ class BashMock:
return result
@staticmethod
def docker_build_push(tag, branch):
def docker_build_push(tag, branch) -> Any:
bash_command = f"./scripts/docker_build_push.sh {tag}"
result = subprocess.run(
bash_command,