--- a/cubicweb/devtools/test/unittest_devctl.py Thu Mar 10 13:47:20 2016 +0100
+++ b/cubicweb/devtools/test/unittest_devctl.py Mon Jan 25 08:28:16 2016 +0100
@@ -36,7 +36,7 @@
expected = ['i18n', 'hooks.py', 'setup.py', 'views.py', 'test',
'migration', 'entities.py', 'MANIFEST.in', 'schema.py',
'cubicweb-foo.spec', '__init__.py', 'debian', 'data',
- '__pkginfo__.py', 'README']
+ '__pkginfo__.py', 'README', 'tox.ini']
tmpdir = tempfile.mkdtemp(prefix="temp-cwctl-newcube")
try:
cmd = [sys.executable, '-m', 'cubicweb', 'newcube',
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cubicweb/skeleton/tox.ini Mon Jan 25 08:28:16 2016 +0100
@@ -0,0 +1,20 @@
+[tox]
+envlist = py27,py34,flake8
+
+[testenv]
+sitepackages = true
+deps =
+ pytest
+commands =
+ {envpython} -m pytest {posargs:test}
+
+[testenv:flake8]
+skip_install = true
+whitelist_externals =
+ flake8
+deps =
+ flake8
+commands = flake8
+
+[flake8]
+exclude = migration/*,test/data/*,setup.py,.tox/*