forked from graphite-project/whisper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
42 lines (39 loc) · 1.06 KB
/
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
[tox]
envlist =
py27,
py35,
py36,
py37,
py38,
pypy,
pypy3,
lint,
[testenv]
commands =
sh -c 'bin/whisper-create.py --help >/dev/null'
sh -c 'bin/whisper-create.py --help >/dev/null'
sh -c 'bin/whisper-dump.py --help >/dev/null'
sh -c 'bin/whisper-fetch.py --help >/dev/null'
sh -c 'bin/whisper-fill.py --help >/dev/null'
sh -c 'bin/whisper-info.py --help >/dev/null'
sh -c 'bin/whisper-merge.py --help >/dev/null'
sh -c 'bin/whisper-resize.py --help >/dev/null'
sh -c 'bin/whisper-set-aggregation-method.py --help >/dev/null'
sh -c 'bin/whisper-update.py --help >/dev/null'
sh -c 'contrib/whisper-auto-update.py --help >/dev/null'
sh -c 'contrib/whisper-auto-resize.py --help >/dev/null'
coverage run --branch --include='whisper.py,test_whisper.py, bin/whisper-resize.py' test_whisper.py
coverage xml
coverage report
deps =
coverage
mock
whitelist_externals =
sh
[testenv:lint]
deps = flake8
commands = flake8 {toxinidir}
[flake8]
exclude = .git,__pycache__,build,dist,.tox
max-line-length=100
ignore=E111,E121,E114,E402,W504