Skip to content

Commit f07c895

Browse files
authored
run mypy on all Python 3.x (#873)
* run mypy on all Python 3.x
1 parent 4c9038e commit f07c895

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

tox.ini

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
envlist =
33
py{27,34,35,36,37}-lint,
44
py{27,34,35,36,37}-unit,
5-
py35-mypy{2,3},
5+
py{34,35,36,36}-mypy{2,3},
66
py27-pipconflictchecker,
77
py27-lint-readme,
88
py27-pydocstyle
@@ -22,13 +22,13 @@ python =
2222
passenv = CI TRAVIS TRAVIS_*
2323
deps =
2424
-rrequirements.txt
25-
py35-mypy{2,3}: mypy==0.620
2625
py{27,34,35,36,37}-unit: codecov
2726
py{27,34,35,36,37}-unit: pytest-xdist
2827
py{27,34,35,36,37}-unit: pytest-cov
2928
py{27,34,35,36,37}-unit: -rtest-requirements.txt
3029
py{27,34,35,36,37}-unit: galaxy-lib
3130
py{27,34,35,36,37}-lint: flake8
31+
py{34,35,36,36}-mypy{2,3}: mypy==0.620
3232

3333
setenv =
3434
py{27,34,35,36,37}-unit: LC_ALL = C
@@ -38,17 +38,12 @@ commands =
3838
py{27,34,35,36,37}-unit: python setup.py test --addopts "--cov-report xml --cov cwltool {posargs}"
3939
py{27,34,35,36,37}-unit: codecov
4040
py{27,34,35,36,37}-lint: flake8 schema_salad setup.py
41+
py{34,35,36,36}-mypy2: make mypy2
42+
py{34,35,36,36}-mypy3: make mypy3
4143

4244
whitelist_externals =
4345
py{27,34,35,36,37}-lint: flake8
44-
45-
[testenv:py35-mypy2]
46-
commands = make mypy2
47-
whitelist_externals = make
48-
49-
[testenv:py35-mypy3]
50-
commands = make mypy3
51-
whitelist_externals = make
46+
py{34,35,36,36}-mypy{2,3}: make
5247

5348
[testenv:py27-pipconflictchecker]
5449
commands = pipconflictchecker

0 commit comments

Comments
 (0)