summaryrefslogtreecommitdiffstats
path: root/setup.cfg
diff options
context:
space:
mode:
authorBastian Venthur <mail@venthur.de>2019-02-10 23:59:13 +0100
committerBrian May <brian@linuxpenguins.xyz>2019-02-11 09:59:13 +1100
commit3bfb975ed9b4024cbc762324539868e901cf8a04 (patch)
treeab6ba42b8bac1eab2aa1343b1dcb0bf14bded0c6 /setup.cfg
parent752a95310198886515577463a4a7e36d7f218018 (diff)
Fix/pep8 (#277)
* 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
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg5
1 files changed, 5 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index 3c9caa8..8b398f0 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -8,5 +8,10 @@ universal = 1
sign=true
identity=0x1784577F811F6EAC
+[flake8]
+count=true
+show-source=true
+statistics=true
+
[tool:pytest]
addopts = --cov=sshuttle --cov-branch --cov-report=term-missing