From ea0ebd7e0296f4a25a69d33c1e445d9f64c236c0 Mon Sep 17 00:00:00 2001 From: Logan Adams Date: Fri, 6 Oct 2023 14:03:04 -0700 Subject: [PATCH] Make formatting match DS --- release/bump_patch_version.py | 14 +++++++++----- release/check_release_version.py | 4 +++- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/release/bump_patch_version.py b/release/bump_patch_version.py index 20827011d368..497da9911c52 100644 --- a/release/bump_patch_version.py +++ b/release/bump_patch_version.py @@ -8,15 +8,19 @@ parser = argparse.ArgumentParser() -parser.add_argument("--current_version", - type=str, - help="The current version being published to help set the next version.") +parser.add_argument( + "--current_version", + type=str, + help="The current version being published to help set the next version.") args = parser.parse_args() current_version = pkg_version.parse(args.current_version) with open('./version.txt', 'w') as fd: - fd.write(f'{current_version.major}.{current_version.minor}.{current_version.micro + 1}\n') + fd.write( + f'{current_version.major}.{current_version.minor}.{current_version.micro + 1}\n') -print(f'{current_version} -> {current_version.major}.{current_version.minor}.{current_version.micro + 1}') +print( + f'{current_version} -> {current_version.major}.{current_version.minor}.{current_version.micro + 1}' +) diff --git a/release/check_release_version.py b/release/check_release_version.py index 148fa8aa3c42..ec6029423b71 100644 --- a/release/check_release_version.py +++ b/release/check_release_version.py @@ -8,7 +8,9 @@ parser = argparse.ArgumentParser() -parser.add_argument("--release_version", type=str, help="The new version being published.") +parser.add_argument("--release_version", + type=str, + help="The new version being published.") args = parser.parse_args()