From be66cf5f377081ad1a3951c97f83010538dd3117 Mon Sep 17 00:00:00 2001 From: Liam Bigelow <40188355+bglw@users.noreply.github.com> Date: Wed, 2 Oct 2024 22:51:23 +1300 Subject: [PATCH] Python formatting --- wrappers/python/scripts/build/api_package.py | 1 + wrappers/python/scripts/build/versioning.py | 1 + 2 files changed, 2 insertions(+) diff --git a/wrappers/python/scripts/build/api_package.py b/wrappers/python/scripts/build/api_package.py index b9b22283..a68ba935 100644 --- a/wrappers/python/scripts/build/api_package.py +++ b/wrappers/python/scripts/build/api_package.py @@ -17,6 +17,7 @@ cli.add_argument("--tag", required=True, help="The version to build.") log = logging.getLogger(__name__) + def main() -> None: setup_logging() args = cli.parse_args() diff --git a/wrappers/python/scripts/build/versioning.py b/wrappers/python/scripts/build/versioning.py index efb19b63..b0426bb8 100644 --- a/wrappers/python/scripts/build/versioning.py +++ b/wrappers/python/scripts/build/versioning.py @@ -1,5 +1,6 @@ import re + def process_tag(tag: str) -> str: """Convert a git tag to a version string compliant with PEP 440. See https://peps.python.org/pep-0440/#public-version-identifiers