[tox] envlist= linting py{27,34,35,36,37}-pytestlatest py37-pytest{master,features} [testenv] passenv = USER USERNAME deps = pytestlatest: pytest pytestmaster: git+https://github.com/pytest-dev/pytest.git@master pytestfeatures: git+https://github.com/pytest-dev/pytest.git@features filelock commands= pytest {posargs} [testenv:linting] skipsdist = True usedevelop = True deps = pre-commit commands = pre-commit run --all-files --show-diff-on-failure [testenv:release] changedir= decription = do a release, required posarg of the version number basepython = python3.7 skipsdist = True usedevelop = True passenv = * deps = towncrier commands = towncrier --version {posargs} --yes [pytest] addopts = -ra testpaths = testing [flake8] max-line-length = 120 ignore = E203,W503