forked from pytest-dev/pytest-xdist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
42 lines (37 loc) · 807 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[tox]
envlist=
linting
py{27,34,35,36,37}-pytestlatest
py{27,36}-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.6
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