tox.ini
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Thu, 23 Feb 2017 11:40:36 +0100
changeset 150 555661aebe9a
parent 96 186c1bb4ac0b
child 169 efcc1ab69722
permissions -rw-r--r--
[pkg] move to new "cube as package" layout

[tox]
envlist = flake8,check-manifest


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

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

[testenv:flake8-jenkins]
skip_install = true
whitelist_externals =
  flake8
deps =
  flake8
commands = flake8 --exit-zero --show-source --output-file=code_quality.log {toxinidir}

[flake8]
format = pylint
ignore = W503
max-line-length = 100
max-complexity = 12
exclude = setup.py,doc/conf.py,cubicweb_sherpa/migration/*,.tox/*