tox.ini 480 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
[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