From 9406c9b64b45c22881d1d085d0602eb02c7d6661 Mon Sep 17 00:00:00 2001 From: "coderabbitai[bot]" <136622811+coderabbitai[bot]@users.noreply.github.com> Date: Tue, 24 Jun 2025 03:13:48 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Add=20docstrings=20to=20`dev`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Docstrings generation was requested by @TongWu. * https://github.com/TongWu/PythonPackageManager/pull/14#issuecomment-2998623136 The following files were modified: * `utils/VersionSuggester.py` --- utils/VersionSuggester.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/VersionSuggester.py b/utils/VersionSuggester.py index 4103946..aa1f547 100644 --- a/utils/VersionSuggester.py +++ b/utils/VersionSuggester.py @@ -120,7 +120,7 @@ def main(): """ Parses command-line arguments and suggests upgrade versions for a specified Python package. - Runs as a script entry point to fetch all available versions of a package from PyPI, suggest a basic upgrade, and optionally suggest a safe minor upgrade that is not affected by known vulnerabilities. + Fetches all available versions of the given package from PyPI and, if requested, suggests a minor upgrade that is not affected by known vulnerabilities. Intended to be used as the script's entry point. """ parser = argparse.ArgumentParser(description="Suggest upgrade versions") parser.add_argument("package", help="Package name on PyPI")