Make bashate checks as part of pep8 checks
Change-Id: I2b070423eff71be760b737ed1bbf7c18f32aada8
This commit is contained in:
parent
8282b4a37f
commit
091330418b
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash -xe
|
||||
|
||||
find ./ -not -wholename \*.tox/\* -and \( -name \*.sh -or -wholename \*.d/\* -and -not -name \*.md -and -not -name \*.rst -and -not -name \*.py \) -print0 | xargs -0 bashate -v
|
4
tox.ini
4
tox.ini
|
@ -20,7 +20,9 @@ whitelist_externals = bash
|
|||
commands = bash -c "find {toxinidir} -not -wholename \*.tox/\* -and \( -name \*.sh -or -wholename \*.d/\* -and -not -name \*.md -and -not -name \*.rst -and -not -name \*.py \) -print0 | xargs -0 bashate -v"
|
||||
|
||||
[testenv:pep8]
|
||||
commands = flake8 {posargs}
|
||||
commands =
|
||||
flake8 {posargs}
|
||||
{toxinidir}/tools/run_bashate.sh
|
||||
|
||||
[testenv:venv]
|
||||
commands = {posargs}
|
||||
|
|
Loading…
Reference in New Issue