summaryrefslogtreecommitdiff
path: root/tox.ini
Commit message (Collapse)AuthorAgeFilesLines
* updated importsEric Lin2020-08-041-21/+0
| | | | Added additional documentation
* Move Sphinx docs build from Python 3.5 to 3.7 since 3.7 is what ReadTheDocs ↵Todd Leonhardt2020-01-221-1/+1
| | | | now uses for builds
* Add support for Python 3.8 release version on all platformsTodd Leonhardt2020-01-221-1/+1
| | | | | | Also: - Try adding support for 3.9-dev on Travis - Update to running flake8 for 3.8 instead of 3.7
* Deprecate support for Python 3.4 and begin testing with Python 3.8 betaTodd Leonhardt2019-06-141-1/+1
|
* Attempt to fix test result publishing on Azure PipelinesTodd Leonhardt2018-10-241-1/+1
|
* Fix redundant environments in tox.iniTodd Leonhardt2018-10-231-1/+1
|
* Experimenting with simplifying tox.ini furtherTodd Leonhardt2018-09-061-29/+3
|
* Reduce redundant definition of dependenciesTodd Leonhardt2018-09-051-48/+2
| | | | | Modified setup.py to include a definition of the extra dependencies required for running unit tests. This allowed a significant simplification of tox.ini
* Unrestrict Sphinx version since they fixed their bugTodd Leonhardt2018-09-041-1/+1
|
* Restrict Sphinx versionTodd Leonhardt2018-08-211-1/+1
| | | | | This is trying to work around a bug in Sphinx: https://github.com/sphinx-doc/sphinx/issues/5322
* Modify .travis.yml to do the doc buildTodd Leonhardt2018-07-301-2/+2
| | | | | Also: - Have doc build treat warnings as errors
* Remove docs/requirements.txt which should no longer be usedkotfu2018-07-301-3/+5
| | | | Slowly trying to reduce the number of places we have dependencies specified. The documentation building processes for both `tox -e docs` and readthedocs.org should now use the dependencies specified in `setup.py`.
* Much better fix for #479 using toxkotfu2018-07-301-0/+6
|
* Add Python 3.7 to AppVeyor Windows build/testTodd Leonhardt2018-07-111-1/+11
|
* Added argcomplete to unit test environment. Added exclusion for WindowsEric Lin2018-05-041-2/+4
|
* Adds some semblance of testing for bash completion. Tests the completion ↵Eric Lin2018-05-041-0/+6
| | | | logic in the argcomplete function but doesn't test actual completion in bash.
* pytest with —cov fails two unit tests. without —cov they pass :(kotfu2018-04-261-9/+5
|
* Fix broken tox builds with codecovkotfu2018-04-261-5/+3
|
* No more xdist or forkingkotfu2018-04-261-16/+6
|
* Adjusted some coverage configuration. Found and fixed bug in help completion.Eric Lin2018-04-181-3/+3
|
* Some minor tweaks to AutoCompleter handling a collection of index-based ↵Eric Lin2018-04-171-3/+3
| | | | | | | | | function arguments. Added example for fully custom completion functions mixed with argparse/AutoCompleter handling - Also demonstrates the ability to pass in a list, tuple, or dict of parameters to append to the custom completion function. Added new test cases exercising the custom completion function calls. Added AutoCompleter and rl_utils to the coverage report.
* Finished removing all dependencies on the six moduleTodd Leonhardt2018-04-151-6/+0
|
* TravisCI (Linux testing) now runs code coverage analysis on Python 3.4 as wellTodd Leonhardt2018-04-151-1/+5
|
* Add back in use of 3rd-party mock module for Python 3.5Todd Leonhardt2018-04-151-0/+2
| | | | Apparently there were some issues in the unitest.mock module in Python 3.5 (but not 3.4 or 3.6)
* Removed unit test dependency on mockTodd Leonhardt2018-04-151-6/+0
| | | | | 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
* Fixed tox dependencies so AppVeyor can run code coverage analysis on Python ↵Todd Leonhardt2018-04-151-0/+2
| | | | 3.6 tests
* Fixed tox.ini so that Windows code coverage analysis will be done for Python 3.6Todd Leonhardt2018-04-151-1/+3
|
* No longer try to test on Python 2.7 on either TravisCI or AppVeyorTodd Leonhardt2018-04-151-36/+1
|
* Fixed bug where display width was not being calculated for display_matchesKevin Van Brunt2018-03-301-0/+5
|
* Add conditional dependency on enum34 for Python 2.7Todd Leonhardt2018-03-281-0/+2
|
* Fixed unit test bug on WindowsTodd Leonhardt2018-03-021-6/+3
| | | | - The python-forked module doesn't work on Windows
* Added use of pytest-forked to CI unit test runsTodd Leonhardt2018-03-021-16/+16
| | | | | | | Due to apparent bugs in pyparsing, this can significantly speed up unit test execution. Also: - Removed use of pexpect in unit tests
* First past at unit test for persistent history featureTodd Leonhardt2018-02-091-0/+8
| | | | | | Added pexpect to modules required for running unit tests. This opens the door for carefully crafted complex unit tests to verify intricate behavior. Tests like this are somewhat painful to write and slow to execute. However, they can enable testing complicated interactive behavior that we otherwise probably would not be able to test.
* Fix Travis CI buildsTodd Leonhardt2018-01-041-11/+1
| | | | | Python 3.3 builds appear to be no longer supported on Travis CI. This replaces Python 3.3 with Python 3.7-dev for Travis CI builds.
* Trying to fix tox.ini and appveyor.yml to get automated Windows tests to ↵Todd Leonhardt2017-11-151-0/+28
| | | | work again
* First attempt at improving how command output gets piped to a shell commandTodd Leonhardt2017-08-071-0/+1
| | | | | | | | | | Now a real pipe is created to a subprocess. This has many advantages and should "just work" like intended with all commands. One downside is to work properly on Python 2.7, it requires the subprocess32 module which is the subprocess module from Python 3.2 backported to Python 2.7. Another downside, is that unit testing the feature is now more difficult. This still needs to be tested for compatibility across all OSes and supported versions of Python. The user needs to be careful if designing multi-threaded cmd2 applications that do command processing in other threads and those threads can make calls to self.stdout.write to put in a try/except to catch Broken Pipe errors which can occur for long running commands if the user closes the shell subprocess before the command is finished.
* Another tweak to tox.ini and .coveragerc, fingers crossed ...Todd Leonhardt2017-07-021-7/+9
|
* Tweak tox.ini and .coveragerc in hopes of getting pytest-cov and ↵Todd Leonhardt2017-07-021-7/+12
| | | | pytest-xdist to play nicely together
* Don't run code coverage in Python 3.6 on WindowsTodd Leonhardt2017-07-021-1/+11
|
* Stop trying to use pytest-xdist when using pytest-covTodd Leonhardt2017-07-021-6/+2
| | | | | It works fine for me on my Mac, but it doesn't seem to work right on either TravisCI or AppVeyor. It appears to calculate the code coverage incorrectly when using pytest-xdist.
* Adding run of example back to environments which are doing code coverage ↵Todd Leonhardt2017-07-021-0/+2
| | | | analysis
* Only install code coverage dependencies on platforms which are going to do ↵Todd Leonhardt2017-07-021-2/+39
| | | | code coverage
* Apparently "codecov erase" isn't an optionTodd Leonhardt2017-07-021-2/+0
|
* Attempt to speedup unit testsTodd Leonhardt2017-07-021-4/+25
| | | | | | | | | | | | | | | | | | Now that we have a lot of unit tests and are running code coverage analysis, our unit tests take a long time to run. Changes include ... tox: - Install pytest-xdist to parallelize unit tests - Only run code coverage analysis on Python 2.7 and 3.6 - Don't run examples/example.py anymore, just run the unit tests TravisCI: - Stop building on Python 3.7-dev since that won't be released for some time AppVeyor: - Stop building on Python 3.4 since that isn't as important and is covered by Travis
* Replaced clipboard copy and paste custom code with pyperclipTodd Leonhardt2017-06-301-0/+1
| | | | | | - Added a 3rd-party dependency on the pyperclip module TODO: Rigorous test on all OSes, particularly Linux systems without xclip
* Don't try to run a code coverage analysis on PyPyTodd Leonhardt2017-06-241-2/+2
| | | | | | Running a code coverage analysis takes forever on pypy and twice forever for pypy3, so don't try. Also try to get codecov working with AppVeyor
* Experimenting with codecov integrationTodd Leonhardt2017-06-241-1/+5
|
* Changes to make our project as welcoming as possible for new contributors.Todd Leonhardt2017-02-261-1/+1
| | | | | | | Changes include: 1) Added CONTRIBUTING.md with detailed instructions for how to contribute, which should be especially useful to those new to open source in general or GitHub in particular 2) Added CODE_OF_CONDUCT.md which sets ground rules for participants’ behavior and helps to facilitate a friendly, welcoming environment 3) Renamed the "example" directory to "examples" in the hope that one day soon there may be more than a single example ;-)
* Updated tox.ini to no longer try to run cmd2.py directly as part of the tests.Todd Leonhardt2017-02-231-1/+0
|
* First stage of refactoring to support full simultaneous Python 2 and 3 ↵Todd Leonhardt2016-12-091-0/+1
| | | | compatibility via use of the six module.