tox.ini 604 Bytes
Newer Older
1
[tox]
2
envlist = py27-{release,dev},flake8, check-manifest
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

[testenv]
sitepackages = true
deps =
  pytest
commands = {envpython} -m pytest {posargs:{toxinidir}/test}

[testenv:flake8]
skip_install = true
whitelist_externals =
  flake8
deps =
  flake8
commands = flake8 {posargs:{toxinidir}}

[flake8]
Katia Saurfelt's avatar
Katia Saurfelt committed
19
20
format = pylint
ignore = W503, E203, E731, E231
21
max-line-length = 100
Katia Saurfelt's avatar
Katia Saurfelt committed
22
exclude = cubicweb_registration/migration/*,docs/*,.tox/*,./test/data/*
23
24
25
26

[pytest]
python_files = *test_*.py

27
28
29
30
31
32
33

[testenv:check-manifest]
skip_install = true
deps =
  check-manifest
commands =
  {envpython} -m check_manifest {toxinidir}