[tox]
envlist=flake8,py3,mypy

[testenv:py3]
deps =
  .[testing]
  pytest-cov
commands =
  pytest --cov=swh --cov-branch {posargs}

[testenv:flake8]
skip_install = true
deps =
  flake8
commands =
  {envpython} -m flake8

[testenv:mypy]
skip_install = true
deps =
  .[testing]
  mypy
  django-stubs
commands =
  mypy swh