mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 02:15:17 +00:00
Wrap flake8
Wrapping flake8 give a possibility to a user to dissable flake8 via setting environment variable in config.sh.
This commit is contained in:
parent
7007a0ec1f
commit
fc0c37efc1
3 changed files with 42 additions and 2 deletions
6
tox.ini
6
tox.ini
|
|
@ -153,11 +153,13 @@ commands =
|
|||
[testenv:flake8]
|
||||
envdir = {toxworkdir}/env-{env:TRAVIS_PYTHON_VERSION:2.7}
|
||||
basepython = python2.7
|
||||
passenv = RUN_FLAKE8_*
|
||||
deps =
|
||||
flake8>=3.5
|
||||
whitelist_externals = flake8
|
||||
whitelist_externals =
|
||||
{[base]whitelist_externals}
|
||||
commands =
|
||||
flake8 --statistics {posargs} .
|
||||
bash {toxinidir}/.travis/runflake8.sh {envpython} --statistics {posargs} .
|
||||
|
||||
[testenv:coveralls]
|
||||
envdir = {toxworkdir}/env-{env:TRAVIS_PYTHON_VERSION:coveralls}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue