tox.ini
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Tue, 13 Nov 2018 16:53:07 +0100
changeset 373 5cf657e6d8ac
parent 371 30f59dac9970
child 374 2dfdaf654cc7
permissions -rw-r--r--
Fix flake8 W605 invalid escape sequence

[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 = cubicweb_blog/__pkginfo__.py,cubicweb_blog/migration/*,test/data/*,.tox/*