Commit 09150124 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

[pkg] Basic tox configuration

parent b7836ff494c0
[tox]
envlist = py27-{release,dev},flake8
[testenv]
sitepackages = true
deps =
pytest
dev: hg+http://hg.logilab.org/master/cubicweb@3.24#egg=cubicweb
commands = {envpython} -m pytest {posargs:{toxinidir}/test}
[testenv:flake8]
skip_install = true
whitelist_externals =
flake8
deps =
flake8
commands = flake8 {posargs:{toxinidir}}
[flake8]
max-line-length = 100
exclude = migration,setup.py,uiprops.py,.tox,doc,scripts
ignore = W503
[pytest]
python_files = *test_*.py
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment