-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
33 lines (31 loc) · 624 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[tox]
envlist = flake8
skipsdist=true
[testenv]
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
# NOTE: you can run any command line tool here - not just tests
stestr run {posargs}
stestr slowest
whitelist_externals =
bash
find
rm
env
tar
setenv =
VIRTUAL_ENV={envdir}
LANGUAGE=en_US
LC_ALL=en_US.utf-8
OS_STDOUT_CAPTURE=1
OS_STDERR_CAPTURE=1
OS_TEST_TIMEOUT=160
PYTHONDONTWRITEBYTECODE=1
[testenv:flake8]
description =
Run style checks on the changes made since HEAD~.
envdir = {toxworkdir}/shared
commands =
bash tools/flake8wrap.sh -HEAD