Skip to content

Commit eec90f7

Browse files
committed
Lint only needs to run once
1 parent 961f808 commit eec90f7

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

tox.ini

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
[tox]
22
minversion = 1.8
33
envlist =
4-
py{27,34,34,36}-unit
5-
py{27,34,35,36}-lint
4+
py{27,34,35,36}-unit
5+
lint
66
format-check
77
doc
88
skipsdist = true
99

1010
[travis]
1111
python =
12-
2.7: py27-unit, py27-lint, format-check, bats
13-
3.4: py34-unit, py34-lint, format-check, bats
14-
3.5: py35-unit, py35-lint, format-check, bats
15-
3.6: py36-unit, py36-lint, format-check, bats
12+
2.7: py27-unit, lint, format-check, bats
13+
3.4: py34-unit, lint, format-check, bats
14+
3.5: py35-unit, lint, format-check, bats
15+
3.6: py36-unit, lint, format-check, bats
1616

1717
[testenv]
1818
passenv = *
@@ -22,7 +22,10 @@ deps =
2222
-rrequirements-test.txt
2323
commands =
2424
unit: py.test -vv
25-
lint: flake8
25+
26+
[testenv:lint]
27+
commands =
28+
flake8
2629

2730
[testenv:format]
2831
commands =

0 commit comments

Comments
 (0)