1[tox]
2envlist=flake8,mypy,py35,py36,py37,py38,py39
3
4[testenv]
5deps=
6    pytest
7    git+https://github.com/sphinx-doc/sphinx
8extras=
9    test
10setenv =
11    PYTHONWARNINGS = all,ignore::DeprecationWarning:docutils.io
12commands=
13    pytest --durations 25 {posargs}
14
15[testenv:flake8]
16description =
17    Run style checks.
18extras =
19    test
20    lint
21commands=
22    flake8
23
24[testenv:mypy]
25description =
26    Run type checks.
27extras =
28    test
29    lint
30commands=
31    mypy sphinxcontrib/
32