Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Made cmd2_app a positional and required argument of AutoCompleter. | Kevin Van Brunt | 2019-02-23 | 1 | -257/+0 |
| | | | | | Deleted bash tab completion support. AutoCompleter no longer assumes CompletionItem results are sorted. | ||||
* | Change deprecated mock to mocker | kotfu | 2018-12-06 | 1 | -6/+6 |
| | |||||
* | Fix flake8 issues | Todd Leonhardt | 2018-12-06 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | This commit contains a very large number of trivial changes in order to fix flake8 errors and warnings. Predominantly these are whitespace changes. Additionally, the build for Python 3.7 on TravisCI has been tweaked to fail if there are any flake8 errors using the following commandline: * flake8 . --count --ignore=E252 --max-complexity=31 --max-line-length=127 --show-source --statistics NOTE: In the future the max cyclomatic complexity should be lowered, but some improvements need to be made first. One flake8 error is being ignored entirely: * E252 missing whitespace around parameter equals * ignored because it doesn't correctly deal with default argument values after a type hint A few flake8 errors are being selectively ignored in certain files: * C901 fuction is too complex * ignored in argparse_completer.py because the complex code is an override of argparse complexity * E302 expected 2 blank lines after ... * ignored in all unit test files for convenience * F401 module imported but unused * ignored in cmd2/__init__.py because imports are for convenience of cmd2 developers and backwards compatibility * F821 undefined name * ignored in cmd2 script files which are intended to run only within cmd2 applications via pyscript where "app" and "cmd" are defined | ||||
* | Going back to all parameterized bash completion tests disabled on TravisCI | Todd Leonhardt | 2018-06-09 | 1 | -27/+2 |
| | |||||
* | 2nd try at selectively enabling parameterized | Todd Leonhardt | 2018-06-09 | 1 | -2/+2 |
| | |||||
* | Trying to start including some but not all of the parameterized bash ↵ | Todd Leonhardt | 2018-06-09 | 1 | -3/+28 |
| | | | | completion tests | ||||
* | Try adding one more | Todd Leonhardt | 2018-06-09 | 1 | -1/+1 |
| | |||||
* | Try adding another test | Todd Leonhardt | 2018-06-09 | 1 | -1/+1 |
| | |||||
* | Get back to passing state with renamed variables | Todd Leonhardt | 2018-06-09 | 1 | -1/+1 |
| | |||||
* | Renamed some variables | Todd Leonhardt | 2018-06-09 | 1 | -12/+12 |
| | | | | - Also enabled another test | ||||
* | Enable another test | Todd Leonhardt | 2018-06-09 | 1 | -1/+1 |
| | |||||
* | Fixed logic of test | Todd Leonhardt | 2018-06-09 | 1 | -1/+1 |
| | |||||
* | Experimenting with enabling a simple CompletionFinder unit test on TravisCI | Todd Leonhardt | 2018-06-09 | 1 | -1/+1 |
| | |||||
* | Skip argcomplete-related tests on Windows since that module isn't available ↵ | Todd Leonhardt | 2018-05-30 | 1 | -3/+3 |
| | | | | on Windows | ||||
* | Increase unit test coverage of argcomplete_bridge.py | Todd Leonhardt | 2018-05-30 | 1 | -0/+24 |
| | | | | Added a couple unit tests for tokens_for_completion() function. | ||||
* | Some fixes to autocompleter to make it easier to do delimited and file ↵ | Eric Lin | 2018-05-18 | 1 | -4/+4 |
| | | | | completion. Saving state - more to come. | ||||
* | Skip a couple tests on macOS which were problematic on my computer | Todd Leonhardt | 2018-05-04 | 1 | -2/+4 |
| | |||||
* | OK, giving up. Disabling bash completion test on travis. | Eric Lin | 2018-05-04 | 1 | -4/+3 |
| | |||||
* | stupid typo. One more try. | Eric Lin | 2018-05-04 | 1 | -1/+1 |
| | |||||
* | Another attempt at getting it working on travis. | Eric Lin | 2018-05-04 | 1 | -9/+10 |
| | |||||
* | Maybe this will do the trick. | Eric Lin | 2018-05-04 | 1 | -2/+23 |
| | |||||
* | Added argcomplete to unit test environment. Added exclusion for Windows | Eric Lin | 2018-05-04 | 1 | -2/+5 |
| | |||||
* | Adds some semblance of testing for bash completion. Tests the completion ↵ | Eric Lin | 2018-05-04 | 1 | -0/+206 |
logic in the argcomplete function but doesn't test actual completion in bash. |