Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve description of check command. #1227

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mauvilsa
Copy link

@mauvilsa mauvilsa commented Jan 30, 2025

Creating this pull request as proposed in #1152 (comment) by @woodruffw. It modifies the description of the check command such that:

  • From command line twine check --help also shows the complete description.
  • The description is improved so that it is more clear about the current purpose of check.

added.

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The docstring doesn't need updating unless I'm mistaken

Comment on lines +179 to +184
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.
"""
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.
"""
description = """This currently only validates if long_description will render on PyPI.
** Caution: This does **not** verify everything that PyPI will.
** Caution: This **never** verifies anything pertinent to non-PyPI index behaviour.
By virtue of performing rendering checks on the long_description, this may validate
other metadata characteristics loosely.
"""

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants