1[tox]
2envlist = flake8,mypy,py36,py37,py38,py39,pypy3
3
4[testenv]
5deps =
6    pytest
7    coverage
8setenv = PYTHONDEVMODE = 1
9commands =
10    coverage run --concurrency=multiprocessing -m pytest --doctest-modules src/xopen/ tests/
11    coverage combine
12    coverage report
13    coverage xml
14
15[testenv:isal]
16deps =
17    pytest
18    coverage
19    isal
20
21[testenv:flake8]
22basepython = python3.6
23deps = flake8
24commands = flake8 src/ tests/
25skip_install = true
26
27[testenv:mypy]
28basepython = python3.6
29deps = mypy
30commands = mypy src/
31skip_install = true
32
33[flake8]
34max-line-length = 99
35max-complexity = 10
36extend_ignore = E731
37
38[coverage:report]
39exclude_lines =
40    pragma: no cover
41    def __repr__
42