tox.ini
author Arthur Lutz <arthur.lutz@logilab.fr>
Fri, 06 Jan 2017 11:03:33 +0100
changeset 366 a03b280a3981
child 371 30f59dac9970
permissions -rw-r--r--
[tox] initial tox.ini

[tox]
envlist = py27,flake8

[tox:jenkins]
envlist = py27, flake8-jenkins

[testenv]
sitepackages = True
deps =
  pytest
  cubicweb-sioc
commands =
  {envpython} -m pytest {posargs:test}

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

[flake8]
format = pylint
max-line-length = 100
ignore = E731,W503
exclude = __pkginfo__.py,migration/*,test/data/*,setup.py,.tox/*