tox.ini
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 24 Feb 2017 13:57:09 +0100
changeset 179 35d98fb943a8
parent 169 efcc1ab69722
child 254 dc730ba1962e
child 256 8fb9299594e6
permissions -rw-r--r--
Drop breadcrumbs at once This is an attempt to make UI lighter and clearer. This makes sense once top-level links works properly (high-lighting, at least). While the parent entity information misses sometimes, it's not the case for the most proeminent cases of this application: archive transfer / units have a tree indicating the context of the viewed element, and authority record don't propose navigation to sub-objects. The only remaning thing is for a concept, but those are still 2nd class citizen in sherpa, so I think we can move that way.

[tox]
envlist = py27,flake8,check-manifest

[testenv]
sitepackages = True
deps =
  -rdev-requirements.txt
commands = {envpython} -m pytest {posargs:{toxinidir}/test}

[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/*