activate flake8 for good!

This commit is contained in:
Thomas Kriechbaumer 2016-05-30 09:44:40 +02:00
parent 6652e3a369
commit 4f0657bc22
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ install:
before_script:
- "openssl version -a"
- "python -c \"from OpenSSL import SSL; print(SSL.SSLeay_version(SSL.SSLEAY_VERSION))\""
- "[[ $(flake8 -qq --count --exit-zero mitmproxy netlib pathod examples test) -le 3 ]]"
- "flake8 --count mitmproxy netlib pathod examples test"
script:
- "py.test --timeout 60 --cov netlib --cov mitmproxy --cov pathod ./test/$SCOPE"

View File

@ -7,4 +7,4 @@ commands = py.test -n 8 --timeout 60 ./test/netlib ./test/mitmproxy/script ./tes
[testenv:lint]
deps = flake8
commands = flake8 --exit-zero --count mitmproxy netlib pathod examples test
commands = flake8 --count mitmproxy netlib pathod examples test