cubicweb/skeleton/tox.ini.tmpl
author Denis Laxalde <denis.laxalde@logilab.fr>
Mon, 19 Jun 2017 18:15:28 +0200
changeset 12188 fea018b2e056
parent 12099 5dd20fc21557
child 12341 921dfb88b115
permissions -rw-r--r--
[web] Set response status to 400 when appropriate in ajax controller When this is clearly a client error, set status to 400. Otherwise, keep the default value for RemoteCallFailed (status=500).

[tox]
envlist = py27,py34,flake8

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

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

[flake8]
exclude = cubicweb_%(cubename)s/migration/*,test/data/*,.tox/*