forked from fosslight/fosslight_android_scanner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
46 lines (37 loc) · 883 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
[tox]
envlist = test_run
skipdist = true
[main]
android_src_path = "android/src_12"
android_build_log = "android.log"
[flake8]
max-line-length = 145
exclude =
.git,
__pycache__,
doc,
resources,
.tox,
script,
site-packages
max-complexity = 10
ignore = C901
[pytest]
filterwarnings = ignore::DeprecationWarning
[testenv]
install_command = pip install {opts} {packages}
[testenv:test_run]
changedir = test
setenv =
PYTHONPATH=.
commands =
fosslight_android -s {[main]android_src_path} -a {[main]android_build_log} -m
[testenv:release]
deps =
-r{toxinidir}/requirements-dev.txt
commands =
pytest -v --flake8 --ignore=script
fosslight_android -h
fosslight_android -b test/binary.txt -n test/NOTICE.html -c ok
fosslight_android -b test/binary.txt -n test/NOTICE.html -c nok
fosslight_android -d test/needtoadd-notice.html