Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborbernat committed Jun 10, 2018
1 parent 3c17955 commit d312643
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,10 @@ skip_missing_interpreters = true

[testenv]
description = run the tests with pytest under {basepython}
setenv = VIRTUALENV_DOWNLOAD = 0
PIP_DISABLE_VERSION_CHECK = 1
setenv = PIP_DISABLE_VERSION_CHECK = 1
COVERAGE_FILE = {toxworkdir}/.coverage.{envname}
passenv = http_proxy https_proxy no_proxy SSL_CERT_FILE TOXENV CI TRAVIS TRAVIS_* APPVEYOR APPVEYOR_* CODECOV_*
deps = setuptools >= 29.0.0
setuptools_scm >= 2.0.0, < 3
wheel >= 0.31.0
deps =
extras = testing
changedir = {toxinidir}/tests
commands = pytest {posargs:--cov="{envsitepackagesdir}/tox" --cov-config="{toxinidir}/tox.ini" --timeout=180 .}
Expand All @@ -33,13 +30,14 @@ commands = sphinx-build -d "{toxworkdir}/docs_doctree" doc "{toxworkdir}/docs_ou


[testenv:fix-lint]
description = run static analysis and style check using flake8
description = format the code base to adhere to our styles, and complain about what we cannot do automatically
basepython = python3.6
passenv = {[testenv]passenv}
HOMEPATH
# without PROGRAMDATA cloning using git for Windows will fail with an
# `error setting certificate verify locations` error
PROGRAMDATA
DIFF_AGAINST
extras = lint
changedir = {toxinidir}
commands = pre-commit run --all-files --show-diff-on-failure
Expand Down Expand Up @@ -106,7 +104,7 @@ max-line-length = 99
ignore = E203, W503

[coverage:run]
branch = false
branch = true

[coverage:report]
skip_covered = True
Expand Down

0 comments on commit d312643

Please sign in to comment.