Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 1 | [tox] |
| 2 | minversion = 1.6 |
| 3 | skipsdist = True |
| 4 | envlist = bashate |
| 5 | |
| 6 | [testenv] |
| 7 | usedevelop = False |
| 8 | install_command = pip install {opts} {packages} |
| 9 | |
| 10 | [testenv:bashate] |
| 11 | basepython = python3 |
| 12 | deps = |
| 13 | {env:BASHATE_INSTALL_PATH:bashate==0.5.1} |
| 14 | whitelist_externals = bash |
| 15 | commands = bash -c "find {toxinidir} \ |
| 16 | -not \( -type d -name .?\* -prune \) \ |
| 17 | -not \( -type d -name doc -prune \) \ |
| 18 | -not \( -type f -name localrc -prune \) \ |
| 19 | -type f \ |
| 20 | -not -name \*~ \ |
| 21 | -not -name \*.md \ |
| 22 | -not -name \*.orig \ |
| 23 | -not -name \*.rej \ |
| 24 | -not -name \*.yaml \ |
| 25 | -not -name \*.lic \ |
Vasyl Saienko | f9ee158 | 2020-03-02 16:53:41 +0200 | [diff] [blame] | 26 | -not -name \*.py \ |
Ilya Bumarskov | 128d4d2 | 2021-12-27 10:43:09 +0400 | [diff] [blame] | 27 | -not -name \*.conf \ |
Gerrit MCP | bbf9d5d | 2019-12-19 13:47:41 +0100 | [diff] [blame] | 28 | \( \ |
| 29 | -name \*.sh -or \ |
| 30 | -wholename \*/de/\* \ |
| 31 | \) \ |
| 32 | -print0 | xargs -0 bashate -v -iE006 -eE005,E042" |