File tree Expand file tree Collapse file tree 2 files changed +44
-10
lines changed Expand file tree Collapse file tree 2 files changed +44
-10
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,23 @@ matrix:
20
20
- os : linux
21
21
sudo : required
22
22
python : 3.7
23
- env : TOXENV=py37-marshmallow2
23
+ env : TOXENV=py37-marshmallow3
24
+ - os : linux
25
+ sudo : required
26
+ python : 3.7
27
+ env : TOXENV=py37-black
28
+ - os : linux
29
+ sudo : required
30
+ python : 3.7
31
+ env : TOXENV=py37-flake8
32
+ - os : linux
33
+ sudo : required
34
+ python : 3.7
35
+ env : TOXENV=py37-bandit
36
+ - os : linux
37
+ sudo : required
38
+ python : 3.7
39
+ env : TOXENV=py37-vulture
24
40
- os : linux
25
41
sudo : required
26
42
python : pypy3.5-6.0
Original file line number Diff line number Diff line change 8
8
marshmallow3: marshmallow >=3.0.0rc5
9
9
10
10
whitelist_externals =flake8
11
- commands =flake8 hug
12
- py.test --cov-report html --cov hug -n auto tests
11
+ commands =py.test --cov-report html --cov hug -n auto tests
13
12
14
- [testenv:py37-marshmallow3 ]
13
+ [testenv:py37-black ]
15
14
deps =
16
15
-rrequirements/build_style_tools.txt
17
- marshmallow2: marshmallow <3.0
18
- marshmallow3: marshmallow >=3.0.0rc5
16
+ marshmallow >=3.0.0rc5
19
17
20
18
whitelist_externals =flake8
19
+ commands =black --check --verbose -l 100 hug
20
+
21
+ [testenv:py37-vulture]
22
+ deps =
23
+ -rrequirements/build_style_tools.txt
24
+ marshmallow >=3.0.0rc5
25
+
26
+ whitelist_externals =flake8
27
+ commands =vulture hug --min-confidence 100
28
+
21
29
30
+ [testenv:py37-flake8]
31
+ deps =
32
+ -rrequirements/build_style_tools.txt
33
+ marshmallow >=3.0.0rc5
34
+
35
+ whitelist_externals =flake8
22
36
commands =flake8 hug
23
- py.test --cov-report html --cov hug -n auto tests
24
- black --check --verbose hug
25
- vulture hug --min-confidence 100
26
- bandit -r hug/ -ll
37
+
38
+ [testenv:py37-bandit]
39
+ deps =
40
+ -rrequirements/build_style_tools.txt
41
+ marshmallow >=3.0.0rc5
42
+
43
+ whitelist_externals =flake8
44
+ commands =bandit -r hug/ -ll
27
45
28
46
[testenv:pywin]
29
47
deps =-rrequirements/build_windows.txt
You can’t perform that action at this time.
0 commit comments