Switch order of lint and lint-py2
@@ -53,23 +53,23 @@ commands =
[lint]
deps = -r{toxinidir}/tools/requirements/lint.txt
-[testenv:lint-py2]
+[testenv:lint]
skip_install = True
-basepython = python2
+basepython = python3
deps = {[lint]deps}
commands_pre =
-# No need to flake8 docs, tools & tasks in py2
commands =
- flake8 src tests
+ flake8
isort --check-only --diff
-[testenv:lint]
+[testenv:lint-py2]
skip_install = True
-basepython = python3
+basepython = python2
deps = {[lint]deps}
commands_pre =
+# No need to flake8 docs, tools & tasks in py2
commands =
- flake8
+ flake8 src tests
isort --check-only --diff
[testenv:mypy]
