diff --git a/tagging/create_manifests.py b/tagging/create_manifests.py index af429b3d..2b988f1c 100755 --- a/tagging/create_manifests.py +++ b/tagging/create_manifests.py @@ -34,7 +34,7 @@ def append_build_history_line(short_image_name, owner, wiki_path, all_tags, cont ]) build_history_line = "|".join([date_column, image_column, links_column]) + "|" - home_wiki_file = os.path.join(wiki_path, 'Home.md') + home_wiki_file = os.path.join(wiki_path, "Home.md") with open(home_wiki_file, "r") as f: file = f.read() TABLE_BEGINNING = "|-|-|-|\n" diff --git a/tagging/git_helper.py b/tagging/git_helper.py index f0ea0f8a..cb453703 100755 --- a/tagging/git_helper.py +++ b/tagging/git_helper.py @@ -7,13 +7,13 @@ from plumbum.cmd import git class GitHelper: @staticmethod def commit_hash(): - return git['rev-parse', 'HEAD']().strip() + return git["rev-parse", "HEAD"]().strip() @staticmethod def commit_message(): return git["log", -1, "--pretty=%B"]().strip() -if __name__ == '__main__': - print('Git hash:', GitHelper.commit_hash()) - print('Git message:', GitHelper.commit_message()) +if __name__ == "__main__": + print("Git hash:", GitHelper.commit_hash()) + print("Git message:", GitHelper.commit_message())