-
Notifications
You must be signed in to change notification settings - Fork 12
Switch from docopt to click
#176
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
jsf9k
wants to merge
17
commits into
develop
Choose a base branch
from
improvement/switch-from-docopt-to-click
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
32f8dd1
Drop docopt in favor of click
jsf9k ac89f10
Update return values in tests to match what click uses
jsf9k a609f6a
Rework test code to use click.testing.CliRunner
jsf9k bebcdea
Add a type hint for CONTEXT_SETTINGS
jsf9k a25f213
Rename functions to increase clarity
jsf9k c4507f5
Explain why log levels must be extracted differently on Python 10
jsf9k f00f069
Bump version from 1.0.0 to 1.1.0-rc.1
jsf9k 48639fa
Use version tuple vice only comparing the minor version
jsf9k 9abc187
Improve docstring
jsf9k 3e61721
Ensure that only the version is printed with the version option
jsf9k bdb3193
Remove unused capsys fixture
jsf9k d614cff
Add return type annotation
jsf9k df49fb9
Check string equality vs using endswith()
jsf9k f0ffcc3
Remove an unnecessary list() call
jsf9k 6361f92
Remove an unnecessary dict() call
jsf9k bf8d49d
Shorten an overly long comment line
jsf9k 04dc210
Add click and rich to list of Python Dependabot ignore directives
jsf9k File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| """Code to run if this package is used as a Python module.""" | ||
|
|
||
| from .example import main | ||
| from .example import setup_logging_and_divide | ||
|
|
||
| main() | ||
| setup_logging_and_divide() |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| """This file defines the version of this module.""" | ||
|
|
||
| __version__ = "1.0.0" | ||
| __version__ = "1.1.0-rc.1" |
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.