| 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.
|
|
|
|
|
|
|
| |
Also:
- Added isort to Pipenv dev
- Added setup.cfg to make it easy to run flake8, doc8, and isort directly from the command line without using invoke
- Ran isort to sort includes
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
cmd2.Cmd.cmdloop() now returns self.exit_code which should be an integer
Also:
- Refactored examples to call sys.exit(app.cmdloop()) in their __main__
- Running transcript tests now sets the exit_code accordingly based on success/failure
- Updated CHANGELOG
- Updated README
- Updated Sphinx docs
- Added unit test for case when transcript test fails
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to instance attributes
The following are now instance attributes:
- allow_cli_args
- default_to_shell
- quit_on_sigint
The following class attribute was deleted due to lack of use:
- reserved_words
The following instance attribute was deleted due to lack of use:
- keywords
|
| |
|
|
|
|
| |
functions
|
| |
|
|
|