mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 15:37:45 +00:00
activate flake8 for good!
This commit is contained in:
parent
6652e3a369
commit
4f0657bc22
@ -46,7 +46,7 @@ install:
|
|||||||
before_script:
|
before_script:
|
||||||
- "openssl version -a"
|
- "openssl version -a"
|
||||||
- "python -c \"from OpenSSL import SSL; print(SSL.SSLeay_version(SSL.SSLEAY_VERSION))\""
|
- "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:
|
script:
|
||||||
- "py.test --timeout 60 --cov netlib --cov mitmproxy --cov pathod ./test/$SCOPE"
|
- "py.test --timeout 60 --cov netlib --cov mitmproxy --cov pathod ./test/$SCOPE"
|
||||||
|
2
tox.ini
2
tox.ini
@ -7,4 +7,4 @@ commands = py.test -n 8 --timeout 60 ./test/netlib ./test/mitmproxy/script ./tes
|
|||||||
|
|
||||||
[testenv:lint]
|
[testenv:lint]
|
||||||
deps = flake8
|
deps = flake8
|
||||||
commands = flake8 --exit-zero --count mitmproxy netlib pathod examples test
|
commands = flake8 --count mitmproxy netlib pathod examples test
|
||||||
|
Loading…
Reference in New Issue
Block a user