Skip to content

Commit

Permalink
Switch order of lint and lint-py2
Browse files Browse the repository at this point in the history
  • Loading branch information
pradyunsg committed Aug 27, 2019
1 parent 506a08b commit 7d84255
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 7d84255

Please sign in to comment.