Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Improve cli help somewhat#19073

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
wyattscarpenter wants to merge31 commits intopython:master
base:master
Choose a base branch
Loading
fromwyattscarpenter:cli

Conversation

wyattscarpenter
Copy link
Contributor

This PR rearranges a couple of command line flag categorizations to make more sense and not leave any uncategorized — which is debatable, if someone really liked how the current top ofmypy --help is

options:  --enable-incomplete-feature {InlineTypedDict,PreciseTupleTypes}                            Enable support of incomplete/experimental features for early previewOptional arguments:  -h, --help                Show this help message and exit  -v, --verbose             More verbose messages  -V, --version             Show program's version number and exit  -O FORMAT, --output FORMAT                            Set a custom output formatConfig file:

instead of

Utility arguments:  -h, --help                Show this help message and exit  -v, --verbose             More verbose messages  -V, --version             Show program's version number and exit  -O FORMAT, --output FORMAT                            Set a custom output format (choices: {'json'})Config file:

This PR also removes the --experimental flag (completing a TODO from 2018-03-16) and programmatically enforces the cli help style guide (from which it removes the advice about links that seemed misguided).

This PR relies on#19062 being merged, as I built off of that to save myself time fixing merge conflict later, and so I'm keeping this as a draft PR for now.

wyattscarpenterand others added30 commitsMay 11, 2025 14:38
… from being ungroupedalso, take another experimental group from the misc group into this group, and rename the misc group to misc
…re optionalalthough, arguably, they all provide Utility as well.wait, was this 'Optional arguments' header supposed to introduce *all* of the arguments, and just has a couple misc ones under it, as a sort of pun? Well, whatever.
@github-actionsGitHub Actions

This comment has been minimized.

@github-actionsGitHub Actions
Copy link
Contributor

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

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@wyattscarpenter

[8]ページ先頭

©2009-2025 Movatter.jp