Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed extra space appended to each alias by "alias list" command. | Kevin Van Brunt | 2021-08-25 | 1 | -0/+7 |
| | | | | Added self.last_result unit tests for alias, edit, eof, help, macro, quit, shortcuts, and run_pyscript commands. | ||||
* | Renamed use_ipython keyword parameter of cmd2.Cmd.__init__() to include_ipy. | Kevin Van Brunt | 2021-03-30 | 1 | -0/+36 |
| | | | | | | | | | | Added include_py keyword parameter to cmd2.Cmd.__init__(). If False, then the py command will not be available. Removed ability to run Python commands from the command line with py. Made banners and exit messages of Python and IPython consistent. Changed utils.is_text_file() to raise OSError if file cannot be read. | ||||
* | Deprecate Python 3.5 | Todd Leonhardt | 2021-02-20 | 1 | -8/+3 |
| | |||||
* | Add in isort changes | Todd Leonhardt | 2021-01-31 | 1 | -1/+3 |
| | |||||
* | Add black for automatic code format | Todd Leonhardt | 2021-01-31 | 1 | -1/+15 |
| | |||||
* | Changed isort to force wrapping of imports to reduce merge conflicts from ↵ | Eric Lin | 2021-01-22 | 1 | -3/+9 |
| | | | | minor import changes. | ||||
* | Added info on semantic versioning and branching strategy to CONTRIBUTING.md | Todd Leonhardt | 2020-04-24 | 1 | -1/+2 |
| | | | | | | | 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 | ||||
* | Updated error text | Kevin Van Brunt | 2020-04-20 | 1 | -1/+1 |
| | |||||
* | cmd2 now considers ipy a pyscript environment | Kevin Van Brunt | 2020-04-20 | 1 | -1/+1 |
| | |||||
* | Fixed unit test name | Kevin Van Brunt | 2020-04-11 | 1 | -1/+1 |
| | |||||
* | Made some optional arguments with defaults keyword-only. | Kevin Van Brunt | 2020-04-11 | 1 | -1/+8 |
| | | | | | Added unit test for echo argument to pyscript app() command. Removed _relative_load from hidden commands since that command was renamed. | ||||
* | Fixed bug where pyscripts could edit cmd2.Cmd.py_locals dictionary. | Kevin Van Brunt | 2020-02-14 | 1 | -5/+4 |
| | | | | | | | | | Fixed bug where cmd2 set sys.path[0] for a pyscript to its cwd instead of the script's directory. Fixed bug where sys.path was not being restored after a pyscript ran. Setting the following pyscript variables: __name__: __main__ __file__: script path (as typed) Removed do_py.run() function since it didn't handle arguments and offered no benefit over run_pyscript. | ||||
* | Updating unit tests | Kevin Van Brunt | 2019-12-17 | 1 | -18/+9 |
| | |||||
* | Fixed unit test on Windows | Kevin Van Brunt | 2019-07-24 | 1 | -4/+4 |
| | |||||
* | Updated unit tests | Kevin Van Brunt | 2019-07-24 | 1 | -4/+8 |
| | |||||
* | Added unit tests | Kevin Van Brunt | 2019-07-24 | 1 | -2/+23 |
| | |||||
* | Fixed issue where run_pyscript failed if the script's filename had a space | Kevin Van Brunt | 2019-07-23 | 1 | -4/+12 |
| | |||||
* | Changed warning text | Kevin Van Brunt | 2019-07-21 | 1 | -1/+1 |
| | |||||
* | Added unit test | Kevin Van Brunt | 2019-07-21 | 1 | -1/+17 |
| | |||||
* | Remove load, _relative_load, pyscript aliases which | Todd Leonhardt | 2019-06-29 | 1 | -5/+0 |
| | | | | | | These commands were renamed in the last release, but aliases were created along with warnings to help aid the transition. The command aliases are now being removed in this release. | ||||
* | Fix unit test failures I introduced in last commit | Todd Leonhardt | 2019-06-15 | 1 | -1/+1 |
| | |||||
* | Added unit tests | Kevin Van Brunt | 2019-06-15 | 1 | -9/+4 |
| | |||||
* | Updated unit tests | Kevin Van Brunt | 2019-06-15 | 1 | -2/+42 |
| | |||||
* | Renamed file | Kevin Van Brunt | 2019-06-15 | 1 | -0/+56 |