diff options
author | Rihab Banday <rihab.banday@ericsson.com> | 2020-08-12 15:39:02 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2020-08-12 15:39:02 +0000 |
commit | 332652ce8bb53ea580d3a2a1f9b12e7d311ae29b (patch) | |
tree | 4525d34e5eec310009581f0c153c5a139d68e88e /tox.ini | |
parent | 2269cffee0006eaf7415cb50261f0a1d34e9f37f (diff) | |
parent | 15af69c32d0338d7a659ddcf23cfb339973d18e2 (diff) |
Merge "Implement linting process"
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -0,0 +1,17 @@ +[tox] +minversion = 3.15 +skipsdist = True +envlist = lint,docs + +[testenv] +passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY + +[testenv:lint] +deps = + {env:BASHATE_INSTALL_PATH:bashate} + yamllint +whitelist_externals = bash +commands = bash -c "find {toxinidir} \ + -not -path {toxinidir}/.tox/\* \ + -name \*.sh | xargs bashate -v" + bash -c "yamllint {toxinidir}" |