From a091559e25852c8e8087830235d43c0c51afeca8 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Fri, 22 Aug 2025 09:59:45 -0300 Subject: [PATCH] [Fixed] Flake8 style details --- tools/check_versions.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/check_versions.py b/tools/check_versions.py index c955a62..f10166c 100755 --- a/tools/check_versions.py +++ b/tools/check_versions.py @@ -10,6 +10,7 @@ PYPROJECT_PATH = Path("pyproject.toml") SOURCE_VERSION_PATH = Path("src/nodes/__init__.py") # --- End Configuration --- + def get_version_from_pyproject(file_path: Path) -> str | None: """Extracts the version string from a pyproject.toml file.""" try: @@ -74,5 +75,6 @@ def main() -> int: print(" Please ensure both versions are identical.", file=sys.stderr) return 1 + if __name__ == "__main__": - sys.exit(main()) \ No newline at end of file + sys.exit(main())