This repository was archived by the owner on Mar 21, 2024. It is now read-only.
Specify formatter_class=argparse.ArgumentDefaultsHelpFormatter in generic_parsing.py to show default values for arguments in help message#689
Merged
ant0nsc merged 8 commits intoMar 15, 2022
Conversation
ant0nsc
previously approved these changes
Mar 9, 2022
Contributor
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
|
Hey @JacopoTeneggi , Your change looks good, I forgot that we need to start Azure pipelines manually for external contributions, which I did just now. |
ant0nsc
previously approved these changes
Mar 9, 2022
fepegar
previously approved these changes
Mar 11, 2022
fepegar
left a comment
Contributor
There was a problem hiding this comment.
LGTM. Thanks, @JacopoTeneggi!
Contributor
Author
|
Hi @ant0nsc sorry to mention directly: I do not have permissions to merge and I see that the check |
Contributor
|
@JacopoTeneggi , (no issue about the mentioning, that's helpful really!), I've merged main and will restart the pipelines now. |
Contributor
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
fepegar
approved these changes
Mar 15, 2022
ant0nsc
approved these changes
Mar 15, 2022
ant0nsc
approved these changes
Mar 15, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR resolves #675 .
Now, default argument values are shown in the help message, for example:
note that some outputs are empty instead of showing a value of
None, should this behavior be changed?PR Checklist:
Added/Changed/Removed/... in the "Upcoming" section.
and if needed a motivation why that change was required.