| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Python 3.5.2 introduced a bug in typing that was fixed in 3.5.3.
The bug in typing prevents the latest nox from running properly.
Ubuntu 16.04 stopped at python 3.5.2.
To work-around, force an older version of nox when testing 3.5.2
|
|
|
|
| |
Copied 3.5.4 definition of typing.Deque
|
| |
|
|
|
|
| |
now uses for builds
|
|
|
|
|
|
| |
Also:
- Try adding support for 3.9-dev on Travis
- Update to running flake8 for 3.8 instead of 3.7
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
| |
Your mileage may vary...
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Currently __app__ and __self__ are _undefined names_. Is there a way to use __global__ or __import__ or __# noqa__ to resolve this?
__E901,E999,F821,F822,F823__ are the "_showstopper_" [flake8](http://flake8.pycqa.org) issues that can halt the runtime with a SyntaxError, NameError, etc. Most other flake8 issues are merely "style violations" -- useful for readability but they do not effect runtime safety.
* F821: undefined name `name`
* F822: undefined name `name` in `__all__`
* F823: local variable name referenced before assignment
* E901: SyntaxError or IndentationError
* E999: SyntaxError -- failed to compile a file into an Abstract Syntax Tree
|
|
|
|
| |
container-based build
|
|
|
|
| |
build working
|
|
|
|
| |
Previously our Travis CI configuration was using 3.7-dev for testing with Python 3.7 now it is using the official 3.7.
|
|
|
|
|
| |
Also:
- Have doc build treat warnings as errors
|
| |
|
|
|
|
| |
Also bumped version to 0.8.0a
|
|
|
|
|
|
|
| |
There are a couple unit test failures with Python 3.7-dev that we will need to look into at some point, so I disabled that build for now.
Updated all documentation to reflect that cmd2 is support on Python 2.7 and 3.4+.
Official support for Python 3.3 has been abandoned due to no longer having support to test on that platform on Travis CI.
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
display (since it didn't help)
|
|
|
|
| |
This is yet another attempt at getting xclip to work on Linux TravisCI builds to aid with unit testing.
|
| |
|
|
|
|
|
|
|
|
| |
- Disabled TravisCI macOS builds because they are heavily backlogged
- Removed a file which should never have been committed
- Updated Sphinx docs to relect that the default_file_name settable parameter no longer exists
- Fixed comment in a unit test
- Fixed a unit test to use os.path.sep for cross-platform compatibility
|
| |
|
| |
|
|
|
|
| |
Installing pywin32 on AppVeyor is more difficult than just using pip.
|
| |
|
|
|
|
|
|
| |
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
|
|
|
|
| |
backed up
|
|
|
|
|
|
| |
- Remove Python 2.6 and 3.2 builds because they don't work and aren't worth fixing
- Attempt at fixing pypy3 unit test that fails
- First attempt at building for Python 3 on Mac OS X
|
| |
|
| |
|
|
|
|
| |
We should be able to get a Python 3.x build working on Mac OS X by manually installing the correct version of Python, but this is apparently more difficult than I would have thought.
|
|
|
|
| |
OS is osx AND the TOXENV is py36, then homebrew will be used to install python3.
|
| |
|
| |
|
|
|
|
| |
failure due to sudo
|
|
|
|
| |
X jobs weren't starting on Travis
|
|
|
|
| |
Python 2.7 and 3.5
|
| |
|
| |
|
| |
|
| |
|
|
|