From d10557bf874fd453cc65f50c3fb4b0143b7af699 Mon Sep 17 00:00:00 2001 From: Ayaz Salikhov Date: Sat, 22 Feb 2025 00:06:45 +0000 Subject: [PATCH] Shorter function signatures --- tagging/manifests/header.py | 5 +---- tests/run_tests.py | 7 +------ 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/tagging/manifests/header.py b/tagging/manifests/header.py index ff7768a55..89ef24375 100644 --- a/tagging/manifests/header.py +++ b/tagging/manifests/header.py @@ -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() diff --git a/tests/run_tests.py b/tests/run_tests.py index cd17a5517..4fad73c86 100755 --- a/tests/run_tests.py +++ b/tests/run_tests.py @@ -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}")