tox.ini
author Juliette Belin <juliette.belin@logilab.fr>
Wed, 15 Feb 2017 11:40:58 +0100
changeset 117 445907715dd2
parent 96 186c1bb4ac0b
child 127 24c099e79a0c
child 143 6b3a592ed014
permissions -rw-r--r--
Add a section to the instructions

[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,migration/*,.tox/*