| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This ads black, isort, pyupgrade, and flake8 to pre-commit-config.yaml
There are also some small changes to travis.yml and tasks.py to reduce
some repeated configurations that should be consolidated into
setup.cfg. Most other changes are automated by the linter scripts.
|
|
|
|
|
|
|
|
|
|
| |
passing it a CommandSet instance.
Search for a CommandSet instance that matches the completer's parent
class type.`
Resolves Issue #967
Renamed isolated_tests directory to tests_isolated for better visual grouping. Added some exception documentation
|
|
|
|
| |
passing to command handlers to access sub-command handlers
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
through to the ArgparseCompleter if one is registered.
For subcommands, the registered argparse instance for the subcommand is now tagged with the
CommandSet from which it originated.
If a CommandSet is detected, it's now passed in as 'self' for the
completion functions.
Fixes some issue found with removing a subcommand.
Adds additional tests.
Added a check to prevent removal of a CommandSet if it has commands with sub-commands
from another CommandSet bound to it.
Documentation improvements.
Standardized around using CommandSetRegistrationException during commandset install/uninstall related errors.
Added support for nested sub-command injection.
|
|
|
|
|
| |
1. Added SystemExit handling by warning the user it's occured and setting stop to True
2. KeyboardInterrupts won't be raised if stop is already set to True.
|
|
|
|
| |
Both exception classes have been added to the public API.
|
| |
|
| |
|
| |
|
| |
|
|
|