[tox]
envlist =
    docs
    js-firefox
    {py,js}-lint
skipsdist = true

[flake8]
max-line-length = 120
exclude =
    .git
    env
    */migrations/*
    .tox
    __pycache__
    docs

[testenv:docs]
basepython=python
changedir=docs
commands=sphinx-build -W -b html -d _build/doctrees .  _build/html
deps=sphinx

[testenv:js-firefox]
setenv = MOZ_HEADLESS = 1
basepython=python3
commands=jasmine ci -b firefox
deps=
    jasmine
    typing

[testenv:py-lint]
basepython=python
commands=flake8
deps=flake8

[testenv:js-lint]
whitelist_externals = jshint
basepython=python
commands=jshint .

[tox]
envlist =
    docs
    js-firefox
    {py,js}-lint
skipsdist = true

[flake8]
max-line-length = 120
exclude =
    .git
    env
    */migrations/*
    .tox
    __pycache__
    docs

[testenv:docs]
basepython=python
changedir=docs
commands=sphinx-build -W -b html -d _build/doctrees .  _build/html
extras=docs

[testenv:js-firefox]
setenv = MOZ_HEADLESS = 1
basepython=python3
commands=jasmine ci -b firefox
deps=
    jasmine
    typing

[testenv:py-lint]
basepython=python
commands=flake8
deps=flake8

[testenv:js-lint]
whitelist_externals = jshint
basepython=python
commands=jshint .

Use extras for getting sphinx deps
Use extras for getting sphinx deps
