-
-
Notifications
You must be signed in to change notification settings - Fork 388
/
tox.ini
69 lines (52 loc) · 1.44 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
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
68
69
[tox]
envlist=py{35,36,37,38,py3}-marshmallow{2,3}, cython-marshmallow{2,3}
[testenv]
deps=
-rrequirements/build_common.txt
marshmallow2: marshmallow <3.0
marshmallow3: marshmallow==3.0.0rc6
whitelist_externals=flake8
commands=py.test --durations 3 --cov-report html --cov hug -n auto tests
[testenv:py37-black]
deps=
-rrequirements/build_style_tools.txt
marshmallow==3.0.0rc6
whitelist_externals=flake8
commands=black --check --verbose -l 100 hug
[testenv:py37-vulture]
deps=
-rrequirements/build_style_tools.txt
marshmallow==3.0.0rc6
whitelist_externals=flake8
commands=vulture hug --min-confidence 100 --ignore-names req_succeeded
[testenv:py37-flake8]
deps=
-rrequirements/build_style_tools.txt
marshmallow==3.0.0rc6
whitelist_externals=flake8
commands=flake8 hug
[testenv:py37-bandit]
deps=
-rrequirements/build_style_tools.txt
marshmallow==3.0.0rc6
whitelist_externals=flake8
commands=bandit -r hug/ -ll
[testenv:py37-isort]
deps=
-rrequirements/build_style_tools.txt
marshmallow==3.0.0rc6
whitelist_externals=flake8
commands=isort -c --diff --recursive hug
[testenv:py37-safety]
deps=
-rrequirements/build_style_tools.txt
marshmallow==3.0.0rc6
whitelist_externals=flake8
commands=safety check -i 36810
[testenv:pywin]
deps =-rrequirements/build_windows.txt
basepython = {env:PYTHON:}\python.exe
commands=py.test hug -n auto tests
[testenv:cython]
deps=Cython
-rrequirements/build.txt