author Denis Laxalde <>
Thu, 29 Nov 2018 09:15:28 +0100
changeset 2977 820fbe858027
parent 2973 e2837a22e676
child 3010 0f34817c52af
permissions -rw-r--r--
Make "seda.tree" component selectable for all items of the SEDA tree This follows-up on changeset 0b663b4c509f which made ProfileTreeComponent class abstract and introduced a regression in that the component was then only selectable for SEDAArchiveTransfer entities, hence making the tree component disappear when navigating to leafs of the tree. A concrete class of this component must exist for all possible entity types under a SEDAArchiveTransfer entity. We thus extend the selector of TransferTreeComponent (renamed as ProfileTreeComponent) to list all entity types. Accordingly, we make it clearer that the base class is abstract by renameing it.

envlist = py27, flake8, check-manifest

envlist = py27, flake8-jenkins, check-manifest

deps =
commands = {envpython} -m pytest {posargs:{toxinidir}/test}

python_files = *test_*.py
log_capture = false

skip_install = true
deps =
commands =
  {envpython} -m check_manifest {toxinidir}

skip_install = true
deps =
commands = flake8 {posargs:{toxinidir}}

skip_install = true
deps =
commands = flake8 --exit-zero --show-source --output-file=code_quality.log {toxinidir}

format = pylint
ignore = W503
max-line-length = 100
max-complexity = 12
exclude = doc/,cubicweb_seda/,cubicweb_seda/entities/,cubicweb_seda/views/,cubicweb_seda/schema/,cubicweb_seda/migration/*,test/data/*,.tox/*

whitelist_externals =
setenv =
commands = make -C cubicweb_seda {posargs}

changedir = doc
deps =
commands = sphinx-build -b html -d {envtmpdir}/doctrees .  {envtmpdir}/html