Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions twine/commands/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,18 +170,19 @@ def check(
def main(args: List[str]) -> bool:
"""Execute the ``check`` command.

This currently only validates ``long_description``, but more checks could be
added.

Note: check is not intended to catch all reasons why an upload to PyPI might fail.

:param args:
The command-line arguments.

:return:
The exit status of the ``check`` command.
"""
parser = argparse.ArgumentParser(prog="twine check")
description = """
This currently only validates ``long_description``, but more checks could be
added.

Note: check is not intended to catch all reasons why an upload to PyPI might fail.
"""
parser = argparse.ArgumentParser(prog="twine check", description=description)
parser.add_argument(
"dists",
nargs="+",
Expand Down