Codebase list python-webargs / debian/5.1.2-0kali1 tox.ini
debian/5.1.2-0kali1

Tree @debian/5.1.2-0kali1 (Download .tar.gz)

tox.ini @debian/5.1.2-0kali1raw · history · blame

[tox]
envlist=
    lint
    py{27,35,36,37}-marshmallow{2,3}
    docs

[testenv]
extras = tests
deps =
    marshmallow2: marshmallow==2.15.2
    marshmallow3: marshmallow>=3.0.0rc2,<4.0.0
commands =
  py27: pytest --ignore=tests/test_py3/ {posargs}
  py{35,36,37}: pytest {posargs}

[testenv:lint]
deps = pre-commit~=1.14
skip_install = true
commands = pre-commit run --all-files

[testenv:docs]
deps = -rdocs/requirements.txt
extras =
commands = sphinx-build docs/ docs/_build {posargs}

; Below tasks are for development only (not run in CI)

[testenv:watch-docs]
deps =
  -rdocs/requirements.txt
  sphinx-autobuild
extras =
commands = sphinx-autobuild --open-browser docs/ docs/_build {posargs} -z webargs

[testenv:watch-readme]
deps = restview
skip_install = true
commands = restview README.rst