tox.ini
author julien tayon <julien.tayon@logilab.fr>
Fri, 12 Apr 2019 15:14:32 +0200
changeset 208 71d812a5b116
parent 195 f26990ab3f7c
child 210 2b42d50f3097
permissions -rw-r--r--
[tox:safety] checking CVE in python dependencies

[tox]
envlist = py27,py3,flake8,safety

[testenv]
deps =
  pytest
commands =
  {envpython} -m pytest {posargs}

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

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

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

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

[testenv:safety]
deps = safety
commands =
  {envpython} -msafety check --full-report