Skip to content
Snippets Groups Projects
tox.ini 522 B
Newer Older
Philippe Pepiot's avatar
Philippe Pepiot committed
envlist = py3,flake8,check-manifest

[testenv]
deps =
  -rdev-requirements.txt
commands =
  {envpython} -m pytest {posargs}

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

[pytest]
python_files = *test_*.py
testpaths = test
addopts = -r fEs

[testenv:flake8]
basepython = python3
skip_install = true
deps =
  flake8
commands =
  {envpython} -m flake8 {toxinidir} {posargs}

[flake8]
max-line-length = 120
exclude = cubicweb_fresh/migration/*,.tox/*,