Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Re-add documentation for formatting mypy --help text #19063

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

wyattscarpenter
Copy link
Contributor

@wyattscarpenter wyattscarpenter commented May 9, 2025

Fixes #15555

This re-adds some rather-innocuous documentation to main about how to write command line flag descriptions, which were on a wiki page that was subsequently destroyed (rendering the link in the comment dead).

@wyattscarpenter wyattscarpenter changed the title Docs Re-add documentation for formatting mypy --help text May 9, 2025
Copy link
Contributor

github-actions bot commented May 9, 2025

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

# Tip: try substituting the group title and description into the following sentence:
# > {group_title}: these flags will {group_description}
# Feel free to add subsequent sentences that add additional details.
# 3. If you cannot think of a meaningful description for a new group, omit it entirely.
Copy link
Collaborator

Choose a reason for hiding this comment

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

This reads like "feel free to add a group even if it doesn't convey any semantic meaning" which isn't a good advice IMO. Was it intended? Groups are, khm, groups, they are supposed to wrap several settings that have something in common, and that "something" should be easy to describe.

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.

Missing documentation for formatting mypy --help text
2 participants