| 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
|
|
|
|
|
| |
Also:
- Made alias_startup.py example robust as to what directory it is launched from
|
| |
|
|
|
|
|
|
| |
Also:
- Bumped version to 0.9.4
- Updated info in Readme and Sphinx docs to reflect new dependency on attrs
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
Also:
- Bumped version to 0.9.0
|
| |
| |
| |
| |
| | |
- Bumped version to 0.8.5
- Added details to CHANGELOG.md regarding recent changes
|
| | |
|
| | |
|
|/
|
|
|
| |
Also:
- Bumped version to 0.8.4
|
| |
|
|
|
|
|
|
|
|
| |
Added example showing how to display tabular data in a cmd2 application.
Also:
- Updated CHANGELOG with data on all PRs since last release
- Bumped version to 0.8.2 in preparation for next release
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Including an example and info in the Sphinx docs
Also:
- Created CHANGELOG entry for 0.8.1 release
- Added info to README about new sub-menu feature
- Bumped version to 0.8.1
TODO:
- Added a unit test for the persistent readline history feature
|
|
|
|
| |
Also bumped version to 0.8.0.
|
| |
|
|
|
|
|
|
|
|
|
| |
Also included a number of minor maintenance updates:
- Bumped version to 0.7.8 in preparation for upcoming release
- Updated Readme.md to add link to slides from recent Florida PyCon talk about cmd2
- Updated documentation on integrating cmd2 with other event loops to use newer runcmds_plus_hooks() method instead of legacy onecmds_plus_hooks method which doesn't properly deal with load commands
- Deleted old files which were used to prepare for a PyCon 2010 presentation
- Updated ChangeLog regarding this bug fix
|
|
|
|
|
|
| |
regexes
Also bumped version from 0.7.7a to 0.7.7 in preparation for eventual next release.
|
|
|
|
| |
This is to help distinguish latest code in GitHub from a version installed via pip from PyPI
|
| |
|
| |
|
| |
|
|
|
|
| |
A few other miscellaneous minor tweaks for whitespace and such.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Also:
- Added locals_in_py to settable parameters to match documentation.
- Added pycon2010 slides back into doc build since they are referenced with :doc:
- Fixed some references in the documentation
- Updated unit tests accordingly
|
|
|
|
| |
The docs now use the custom HTML theme from Read the Docs so that when they are built locally they look the same as they will at https://cmd2.readthedocs.io/en/latest/
|
|
|
|
|
|
|
|
|
| |
- Updated .gitignore for code coverage result dirs from coverage and pytest-cov
- Updated README.rst to include badge for latest docs from readthedocs.io
- Updated setup.py to have updated info for the next time a release is made to PyPI
- Documentation updates:
- Bumped version in conf.py to 0.7
- Updated links in index.rst and alternatives.rst
|
| |
|
|
|
|
| |
compatibility via use of the six module.
|
| |
|
| |
|
|
|