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

[FR] [default: ] vs. (default: ) #4421

Closed
1 task done
DimitriPapadopoulos opened this issue Jun 17, 2024 · 1 comment · Fixed by #4442
Closed
1 task done

[FR] [default: ] vs. (default: ) #4421

DimitriPapadopoulos opened this issue Jun 17, 2024 · 1 comment · Fixed by #4442
Labels
enhancement Needs Triage Issues that need to be evaluated for severity and status.

Comments

@DimitriPapadopoulos
Copy link
Contributor

What's the problem this feature will solve?

Is there a reason why the command line help text sometimes displays default values of user options inside brackets [] (13 occurrences):

errors [default: 'strict']

and sometimes inside parentheses () (10 occurrences):
('build-base=', 'b', "base build directory (default: 'build.build-base')"),

Describe the solution you'd like

How about standardizing the help text syntax?

Alternative Solutions

No response

Additional context

See also:

Code of Conduct

  • I agree to follow the PSF Code of Conduct
@DimitriPapadopoulos DimitriPapadopoulos added enhancement Needs Triage Issues that need to be evaluated for severity and status. labels Jun 17, 2024
@abravalheri
Copy link
Contributor

abravalheri commented Jun 17, 2024

I don't think there is a particular reason for that. These things tend to happen if we don't have a tool that automatically enforces one option.

Also having the code maintained in different repositories piles up with the problem.
I believe that in the future the development of bdist_wheel will be done in the setuptools repository. But it is very likely that pypa/distutils will be kept separated (at least until the oldest Python supported is 3.12).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Needs Triage Issues that need to be evaluated for severity and status.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants