Skip to content

Commit

Permalink
Shorter function signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
mathbunnyru committed Feb 22, 2025
1 parent 38ca825 commit d10557b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
5 changes: 1 addition & 4 deletions tagging/manifests/header.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@ class ManifestHeader:
"""ManifestHeader doesn't fall under common interface, and we run it separately"""

@staticmethod
def create_header(
config: Config,
build_timestamp: str,
) -> str:
def create_header(config: Config, build_timestamp: str) -> str:
commit_hash = GitHelper.commit_hash()
commit_hash_tag = GitHelper.commit_hash_tag()
commit_message = GitHelper.commit_message()
Expand Down
7 changes: 1 addition & 6 deletions tests/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,7 @@
LOGGER = logging.getLogger(__name__)


def test_image(
*,
registry: str,
owner: str,
image: str,
) -> None:
def test_image(*, registry: str, owner: str, image: str) -> None:
LOGGER.info(f"Testing image: {image}")
test_dirs = get_test_dirs(image)
LOGGER.info(f"Test dirs to be run: {test_dirs}")
Expand Down

0 comments on commit d10557b

Please sign in to comment.