tox.ini
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 24 Feb 2017 09:17:48 +0100
changeset 159 712aa8b2d0d1
parent 150 555661aebe9a
child 169 efcc1ab69722
permissions -rw-r--r--
Activate jinja2 autoescaping since this is one of the awaited benefit. Add a .html extension to templates to activate auto-escaping (and likely trigger proper colorization in your editor as bonus point).

[tox]
envlist = flake8,check-manifest


[testenv:check-manifest]
skip_install = true
deps =
  check-manifest
commands =
  {envpython} -m check_manifest {toxinidir}

[testenv:flake8]
skip_install = true
whitelist_externals =
  flake8
deps =
  flake8
commands = flake8 {posargs:{toxinidir}}

[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
ignore = W503
max-line-length = 100
max-complexity = 12
exclude = setup.py,doc/conf.py,cubicweb_sherpa/migration/*,.tox/*