cubicweb/skeleton/tox.ini.tmpl
author Denis Laxalde <denis.laxalde@logilab.fr>
Thu, 23 May 2019 17:25:59 +0200
branch3.26
changeset 12630 1c156d9f224a
parent 12434 4443ae7c9a2d
child 12594 cd9c9573fbd5
permissions -rw-r--r--
[debian] Remove test/doc Build-Depends We are not actually running tests during package build. (This was disabled for python2, now it is also for python3.) And having these build-depends makes it hard to rebuild the package.

[tox]
envlist = py27,py3,flake8

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

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

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