cubicweb/skeleton/tox.ini.tmpl
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Tue, 29 Jan 2019 14:04:28 +0100
changeset 12360 5be7a80d0696
parent 12359 7b373f903ce8
child 12594 cd9c9573fbd5
permissions -rw-r--r--
[skeleton] use python3 flake8 In tox "flake8" environment, use python 3 virtualenv, so we can check for python3 incompatible syntax.

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