From 3cfb453454f7d1df32f3d1136b522dca7abefe0c Mon Sep 17 00:00:00 2001 From: Michael Jerger Date: Fri, 11 Aug 2023 15:54:15 +0200 Subject: [PATCH] improve some linting --- src/main/python/ddadevops/domain/release.py | 4 ++-- src/main/python/ddadevops/infrastructure/infrastructure.py | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main/python/ddadevops/domain/release.py b/src/main/python/ddadevops/domain/release.py index 8d50eec..b28e5da 100644 --- a/src/main/python/ddadevops/domain/release.py +++ b/src/main/python/ddadevops/domain/release.py @@ -74,8 +74,8 @@ class Release(Validateable): or self.release_repository_name is None ): raise RuntimeError( - "when doing artifact release, release_artifact_server_url, "+ - "release_organisation, release_repository_name may not be None." + "when doing artifact release, release_artifact_server_url, " + + "release_organisation, release_repository_name may not be None." ) server_url = self.release_artifact_server_url.removeprefix("/").removesuffix( diff --git a/src/main/python/ddadevops/infrastructure/infrastructure.py b/src/main/python/ddadevops/infrastructure/infrastructure.py index 5aaf88e..1da56bb 100644 --- a/src/main/python/ddadevops/infrastructure/infrastructure.py +++ b/src/main/python/ddadevops/infrastructure/infrastructure.py @@ -249,7 +249,9 @@ class ArtifactDeploymentApi: ) def calculate_checksums(self, artifact_path: str): - # self.execution_api.execute(f"find {artifact_path} -type f -exec sha256sum {{}}; | sort > {artifact_path} sha256sum.lst") relevant für provs + # self.execution_api.execute(f"find {artifact_path} -type f + # -exec sha256sum {{}}; | sort > {artifact_path} sha256sum.lst") + # relevant für provs self.execution_api( f"sha256sum {artifact_path} > {artifact_path}.sha256", )