tox.ini
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 13 Jun 2017 12:08:43 +0200
changeset 289 ba9abd1f18b4
parent 259 4685ff566984
permissions -rw-r--r--
Fix url under the SHERPA logo it may not be /, so properly build the url as done for the SIAF logo. Closes #17084052

[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