improve some linting

This commit is contained in:
Michael Jerger 2023-08-11 15:54:15 +02:00
parent 5d2596bd3f
commit 3cfb453454
2 changed files with 5 additions and 3 deletions

View file

@ -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(

View file

@ -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",
)