tox.ini
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 19 Dec 2017 17:50:12 +0100
changeset 305 4867dfb2cabd
parent 259 4685ff566984
permissions -rw-r--r--
Added tag 0.11 for changeset 19225629dab6

[tox]
envlist = py27,flake8,check-manifest

[testenv]
deps =
  -rdev-requirements.txt
commands = {envpython} -m pytest {posargs:{toxinidir}/test}

[testenv:check-manifest]
skip_install = true
deps =
  check-manifest
commands =
  {envpython} -m check_manifest {toxinidir}

[testenv:flake8]
skip_install = true
deps =
  flake8
commands = flake8 {posargs:{toxinidir}}

[testenv:flake8-jenkins]
skip_install = true
deps =
  flake8
commands = flake8 --exit-zero --show-source --output-file=code_quality.log {toxinidir}

[flake8]
format = pylint
ignore = W503
max-line-length = 100
max-complexity = 12
exclude = setup.py,doc/conf.py,cubicweb_sherpa/migration/*,.tox/*

[testenv:doc]
skip_install = true
changedir = doc
deps =
  sphinx
commands = sphinx-build -W -b html -d doctrees .  html