tox.ini
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Tue, 13 Nov 2018 16:56:32 +0100
changeset 376 b6a67bf7b0ee
parent 375 eb137026a817
child 377 97a3a1fc267f
permissions -rw-r--r--
tox: add newline to separate tox environments

[tox]
envlist = py27,flake8

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

[testenv:flake8]
skip_install = true
deps =
  flake8
commands = flake8

[testenv:flake8-jenkins]
skip_install = true
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 = cubicweb_blog/__pkginfo__.py,cubicweb_blog/migration/*,test/data/*,.tox/*