Files
pytest-xdist/tox.ini

43 lines
805 B
INI

[tox]
envlist=
linting
py{27,34,35,36,37}-pytestlatest
py{27,36}-pytest{master,features}
[testenv]
changedir=testing
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.6
skipsdist = True
usedevelop = True
passenv = *
deps =
towncrier
commands =
towncrier --version {posargs} --yes
[pytest]
addopts = -ra
[flake8]
max-line-length = 120
ignore = E203,W503