| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| | |
|
|/
|
|
| |
The initial goal was to improve documentation of tab-completion capabilities. But the README got updates in several areas.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
version 17.3.0.
Also:
- In setup.py require version of attrs to be >= 16.3.0
- I think this is right, if there are any issues we can bump this to version 17.1.0
|
| |
|
|
|
|
|
| |
Modified setup.py to include a definition of the extra dependencies required for running unit tests.
This allowed a significant simplification of tox.ini
|
| |
|
|
|
|
|
| |
This is trying to work around a bug in Sphinx:
https://github.com/sphinx-doc/sphinx/issues/5322
|
| |
|
| |
|
|
|
|
|
|
| |
Also:
- Bumped version to 0.9.4
- Updated info in Readme and Sphinx docs to reflect new dependency on attrs
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Also:
- Updated comment in tasks.py to document minimum version of twine, wheel, and setuptools required
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
PyPI doesn't recognize PyPy3 as a valid programming language
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Changes include:
- Removed support for versions of setuptools prior to 18.0 (dating to early 2015)
- This removed some extra logic related to conditional dependencies and simplified the imports
- Added a python_requires statement to require Python 3.4 or newer
- I believe this requires setuptools >= 34.4
|
| |
|
|
|
|
|
|
| |
Also:
- updated README.md to correctly state 3rd-party dependencies
- Updated docs/requirements.txt to no longer include pyparsing for ReadTheDocs build
|
|\
| |
| |
| |
| | |
Updated AutoCompleter (#349) to match new directory structure from
packaging effort.
|
| |
| |
| |
| | |
Local py.test run of unit tests now passes.
|
| | |
|
| |
| |
| |
| | |
This reverts commit 4a3d01b679c5db7f6cb670ca981a953eb3b98dc5.
|
| |
| |
| |
| | |
Still have a fair amount of work to do to get this sorted.
|
| |
| |
| |
| | |
This is to support installation from package managers on older OSes such as Debian 9.
|
| | |
|
| | |
|
| | |
|
|/
|
|
| |
This is to support installation from package managers on older OSes such as Debian 9.
|
|
|
|
|
|
|
| |
Removed all dependency on six other than for six.moves.input
Also:
- Started removing code branches which were for Python 2 support
|
| |
|
|
|
|
|
| |
mock was a backport of Python's built in unittest.mock and was required for Python 3.2 or earlier
- Since we now support Python 3.4+ moving forward we no longer need to make use of the 3rd party mock module
|
| |
|
|\
| |
| |
| |
| | |
Also:
- Bumped version to 0.9.0
|
| |
| |
| |
| |
| | |
- Bumped version to 0.8.5
- Added details to CHANGELOG.md regarding recent changes
|
|/ |
|
| |
|
|
|
|
|
|
| |
Missed in commit 2f4198ef94262dc0c747c34541a72128164dc340 .
Fix https://github.com/python-cmd2/cmd2/issues/346 .
|