Skip to content

Commit

Permalink
Update tox to for py36 only for linting
Browse files Browse the repository at this point in the history
Change-Id: Ie4f06bc1f801648ab904117c662585af3686be3e
  • Loading branch information
adrien-berchet committed Jan 20, 2021
1 parent 74a66b5 commit c44cb63
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,9 @@ envlist =

minversion = 3.1.0

# ignore basepython for envs that already specify a version
ignore_basepython_conflict = true

[testenv]
setenv =
PIP_INDEX_URL = https://bbpteam.epfl.ch/repository/devpi/simple
basepython=python3.6
extras = test
commands = pytest -n 2 --basetemp={envtmpdir} --cov={envsitepackagesdir}/{[base]name} --cov={envsitepackagesdir}/{[base]morphval} --cov-branch --no-cov-on-fail --html reports/pytest-{envname}.html --self-contained-html tests/ {posargs}

Expand All @@ -37,6 +33,7 @@ commands =
twine check {envtmpdir}/dist/*

[testenv:lint]
basepython=python3.6
deps =
pycodestyle
pydocstyle
Expand Down

0 comments on commit c44cb63

Please sign in to comment.