-
Notifications
You must be signed in to change notification settings - Fork 74
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
Fix #245: Better boolean flag help output #292
Conversation
tests/test_cli.py
Outdated
@@ -103,9 +103,11 @@ def test_output_dir_is_called_out( | |||
result = runner.invoke( | |||
cli.main, ["--output-dir", "./foo", "scan-local-repo", "."] | |||
) | |||
# Perform a little bit of trickery to make absolutely certain we get a full absolute path |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May be a good idea to link the source of inspiration for this bit of trickery?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🦅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🦅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
even better :)
To help us get this pull request reviewed and merged quickly, please be sure to include the following items:
PR Type
What kind of change does this PR introduce?
Backward Compatibility
Is this change backward compatible with the most recently released version? Does it introduce changes which might change the user experience in any way? Does it alter the API in any way?
Issue Linking
Fixes #245
What's new?
Using the latest version of
click
gives us better output for our command line boolean flags. For example:becomes:
Turns out, there's also a whole ton of other bugfixes and improvements. One of those bugfixes related to path resolution in Windows and resulted in us needing to update some tests. Overall, should be a major positive!