Bartek Grzybowski | 2173fd4 | 2020-07-29 15:33:27 +0200 | [diff] [blame] | 1 | [tox] |
2 | minversion = 3.2.0 | ||||
3 | envlist = py | ||||
4 | skipsdist = true | ||||
5 | requires = pip >= 8 | ||||
6 | |||||
7 | [testenv] | ||||
8 | basepython = python3 | ||||
9 | whitelist_externals = | ||||
10 | git | ||||
11 | bash | ||||
12 | deps = | ||||
13 | coala-bears | ||||
14 | |||||
15 | [testenv:py] | ||||
16 | commands_pre = | ||||
17 | /bin/sh -c "git --no-pager diff HEAD HEAD^ --name-only '*.py' > /tmp/.coalist_py" | ||||
18 | commands = | ||||
19 | /bin/bash -c "coala --non-interactive --disable-caching --no-autoapply-warn py --files $(</tmp/.coalist_py) \ " |