Revision 4c4324788ae0d79adbdf11e52dc7a93dd3698b7a authored by Ishan Bhanuka on 28 June 2019, 03:32:47 UTC, committed by Ishan Bhanuka on 28 June 2019, 13:02:31 UTC
This reverts commit 216d0f74d8c3eeebb5d37f4d7f02130771caf7c6.
1 parent 48b3035
Raw File
tox.ini
[tox]
envlist=flake8,py3

[testenv:py3]
deps =
  # the dependency below is needed for now as a workaround for
  #   https://github.com/pypa/pip/issues/6239
  swh.core[http] >= 0.0.61
  .[testing]
  pytest-cov
  pifpaf
  pytest-django
commands =
  pifpaf run postgresql -- pytest --cov {envsitepackagesdir}/swh/deposit --cov-branch {posargs} {envsitepackagesdir}/swh/deposit

[testenv:flake8]
skip_install = true
deps =
  flake8
commands =
  {envpython} -m flake8 \
    --exclude=.tox,.git,__pycache__,.tox,.eggs,*.egg,swh/deposit/migrations
back to top