[tox]
envlist = py35,py36,py37,pypy3,lint,docs,coverage-combine

[testenv]
deps =
    coverage
    mock
commands =
    coverage run --parallel setup.py test

[testenv:lint]
basepython = python3.7
skip_install = true
deps =
    flake8
commands =
    flake8 flask_ldap3_login flask_ldap3_login_tests *.py

[testenv:docs]
basepython = python3.7
deps =
    -r requirements-docs.txt
commands =
    make -C docs html

[testenv:coverage-combine]
basepython = python3.7
skip_install = true
deps = coverage
depends = py35,py36,py37,pypy3
parallel_show_output = true
commands =
    coverage combine
    coverage report

[tox]
envlist = py35,py36,py37,pypy3,lint,docs,coverage-combine

[testenv]
deps =
    coverage
    mock
commands =
    coverage run --parallel setup.py test

[testenv:lint]
basepython = python3.7
skip_install = true
deps =
    flake8-black
commands =
    flake8 flask_ldap3_login flask_ldap3_login_tests *.py

[testenv:docs]
basepython = python3.7
deps =
    -r requirements-docs.txt
commands =
    make -C docs html

[testenv:coverage-combine]
basepython = python3.7
skip_install = true
deps = coverage
depends = py35,py36,py37,pypy3
parallel_show_output = true
commands =
    coverage combine
    coverage report

Add Black to linting step.
Add Black to linting step.
