forked from viper-framework/viper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
67 lines (59 loc) · 928 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# TOX Setup
[tox]
envlist =
pep8
py34
py35
py36
py37
[testenv]
deps =
-U
tox
pytest
pytest-cov
coverage
codecov
mock
setenv =
HOME = {toxworkdir}
passenv = CI TRAVIS TRAVIS_*
whitelist_externals =
git
bash
rm
python
commands =
git submodule sync -q
git submodule update --init
rm -rf {toxworkdir}/.viper
bash -c 'echo "update-modules" | viper'
bash -c 'echo "exit" | viper'
pytest {posargs}
codecov
rm -rf {toxworkdir}/.viper
# Style/Lint
[testenv:pep8]
deps =
flake8
commands = flake8 . viper-api viper
# Flake8 Configuration
[flake8]
max-line-length = 400
exclude =
.tox,
.git,
.build,
__pycache__,
docs/source/conf.py,
build,
dist,
old,
tests/fixtures/*,
*.pyc,
*.egg-info,
.cache,
.eggs,
viper/modules/pymacho_helper,
viper/modules/pdftools,
tests