summaryrefslogtreecommitdiff
path: root/tests/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix flake8 issuesTodd Leonhardt2018-12-061-1/+0
| | | | | | | | | | | | | | | | | | | | | | 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
* Most of the unit tests fixed.kotfu2018-04-161-2/+1
|
* Basic structure for cmd2 as a packagekotfu2018-04-161-0/+5
|
* Revert "Basic structure for cmd2 as a package"kotfu2018-04-161-5/+0
| | | | This reverts commit 4a3d01b679c5db7f6cb670ca981a953eb3b98dc5.
* Basic structure for cmd2 as a packagekotfu2018-04-161-0/+5
Still have a fair amount of work to do to get this sorted.