Skip to content

Commit 29dcb7f

Browse files
committed
tox.ini: fix bugs, enable flake8 linting for all python versions
1 parent 5efed90 commit 29dcb7f

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

tox.ini

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[tox]
22
envlist =
3-
# py{27,33,34,35.36}-lint,
4-
py27-lint
3+
py{27,33,34,35,36}-lint,
54
py{27,33,34,35,36}-unit,
65
py35-mypy,
76
py27-pipconflictchecker
@@ -11,17 +10,22 @@ skip_missing_interpreters = True
1110

1211
[tox:travis]
1312
2.7 = py27
14-
3.3 = py33-unit
15-
3.4 = py34-unit
13+
3.3 = py33
14+
3.4 = py34
1615
3.5 = py35
17-
3.6 = py36-unit
16+
3.6 = py36
1817

1918
[testenv]
20-
deps = -rrequirements.txt
21-
# py{27,33,34,35,36}-lint: flake8
19+
deps =
20+
-rrequirements.txt
21+
py{27,33,34,35,36}-lint: flake8
2222

2323
commands =
2424
py{27,33,34,35,36}-unit: python setup.py test
25+
py{27,33,34,35,36}-lint: flake8 schema_salad setup.py
26+
27+
whitelist_externals =
28+
py{27,33,34,35,36}-lint: flake8
2529

2630
[testenv:py35-mypy]
2731
commands = make mypy
@@ -30,11 +34,6 @@ deps =
3034
-rmypy_requirements.txt
3135
-rrequirements.txt
3236

33-
[testenv:py27-lint]
34-
commands = flake8 schema_salad setup.py
35-
whitelist_externals = flake8
36-
deps = flake8
37-
3837
[testenv:py27-pipconflictchecker]
3938
commands = pipconflictchecker
4039
whitelist_externals = pipconflictchecker

0 commit comments

Comments
 (0)