1[tox]
2envlist = py{27,34,35,36,37}, linting, norewrite
3
4[testenv]
5passenv = USER USERNAME
6deps =
7    coverage
8commands =
9    coverage run --append --source=pytest_mock.py -m pytest test_pytest_mock.py
10
11[testenv:norewrite]
12commands =
13    pytest test_pytest_mock.py --assert=plain -ra
14
15[testenv:linting]
16skipsdist = True
17usedevelop = True
18extras = dev
19basepython = python3.6
20commands = pre-commit run --all-files --show-diff-on-failure
21
22[pytest]
23addopts = -ra
24
25[flake8]
26max-line-length = 88
27