tox.ini
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 09 Mar 2017 17:33:13 +0100
changeset 217 5a0cebef1a8e
parent 169 efcc1ab69722
child 254 dc730ba1962e
child 256 8fb9299594e6
permissions -rw-r--r--
[schema] Implement security for top level types (ArchiveTransfer, ArchiveUnit, AuthorityRecord and ConceptScheme). For now, we only need to setup ConceptScheme compound security since it's not done yet by the skos cube, while it is in eac and seda cubes. We need to follow a change in the seda cube to get tests to green. Closes #16684441

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