tox.ini
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Tue, 13 Nov 2018 16:55:28 +0100
changeset 375 eb137026a817
parent 374 2dfdaf654cc7
child 376 b6a67bf7b0ee
permissions -rw-r--r--
tox: don't enable global site package So we don't rely on external flake8 and always test against the latest version

[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/*