1[tox]
2envlist =
3    black
4    flake8
5    isort
6    mypy
7    py{35,36,37,38,py3}
8minversion = 1.9
9
10[testenv]
11commands =
12    pytest --cov=html2text {posargs}
13deps =
14    pytest
15    pytest-cov
16
17[testenv:black]
18basepython = python3
19commands =
20    black --target-version py35 --check --diff .
21deps =
22    black
23skip_install = true
24
25[testenv:flake8]
26basepython = python3
27commands =
28    flake8
29deps =
30    flake8
31skip_install = true
32
33[testenv:isort]
34basepython = python3
35commands =
36    isort --check-only --diff
37deps =
38    isort
39skip_install = true
40
41[testenv:mypy]
42commands = mypy --strict html2text
43deps = mypy
44skip_install = true
45