blob: b5769d45e84fa7e8e8f4a14574f9497fa969a840 [file] [log] [blame]
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +01001[tox]
2minversion = 1.6
3skipsdist = True
4envlist = bashate
5
6[testenv]
7usedevelop = False
8install_command = pip install {opts} {packages}
9
10[testenv:bashate]
11basepython = python3
12deps =
13 {env:BASHATE_INSTALL_PATH:bashate==0.5.1}
14whitelist_externals = bash
15commands = 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 Saienkof9ee1582020-03-02 16:53:41 +020026 -not -name \*.py \
Ilya Bumarskov128d4d22021-12-27 10:43:09 +040027 -not -name \*.conf \
Gerrit MCPbbf9d5d2019-12-19 13:47:41 +010028 \( \
29 -name \*.sh -or \
30 -wholename \*/de/\* \
31 \) \
32 -print0 | xargs -0 bashate -v -iE006 -eE005,E042"