mirror of
https://github.com/sshuttle/sshuttle.git
synced 2024-11-25 01:13:37 +01:00
3bfb975ed9
* re-organized imports according to pep8 * fixed all remaining pep8 issues * moved common config into setup.cfg, additionally test `tests` * removed --select=X -- the errors selected where by default not in flake8's --ignore list so effectively had no effect * update .travis.yml to reflect changes in tox.ini * make travis just use tox in order to avoid code duplaction * replace py.test with pytest * fixed .travis.yml * try different pypy toxenv * hopefully fixed testenv for pypy * added pypy basepython, removed unused python2.6 * install dev package before testing (fixes missing coverage) * fixed empty exception pass blocks with noqa * Added dummy log message on empty try-except-pass blocks to make dodacy happy :( * Replaced Exception with BaseException
26 lines
442 B
INI
26 lines
442 B
INI
[tox]
|
|
downloadcache = {toxworkdir}/cache/
|
|
envlist =
|
|
py27,
|
|
py34,
|
|
py35,
|
|
py36,
|
|
pypy,
|
|
|
|
[testenv]
|
|
basepython =
|
|
py27: python2.7
|
|
py34: python3.4
|
|
py35: python3.5
|
|
py36: python3.6
|
|
pypy: pypy
|
|
commands =
|
|
pip install -e .
|
|
# actual flake8 test
|
|
flake8 sshuttle tests
|
|
# flake8 complexity warnings
|
|
flake8 sshuttle tests --exit-zero --max-complexity=10
|
|
pytest
|
|
deps =
|
|
-rrequirements-tests.txt
|