-
Notifications
You must be signed in to change notification settings - Fork 326
/
tox.ini
45 lines (42 loc) · 1005 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
[tox]
envlist =
py27,
py3,
py35,
py36,
py37,
py38,
py39,
py310,
py311,
py312,
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'
coverage run --branch --include='whisper.py,test_whisper.py, bin/whisper-resize.py' test_whisper.py
coverage xml
coverage report
deps =
coverage
mock
allowlist_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