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