forked from pypy/pyrepl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
41 lines (36 loc) · 771 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
[tox]
envlist = py{27,34,35,36,37,38,39,py,py3}, flake8
[testenv]
deps =
pytest
pexpect
coverage: coverage
commands =
{env:_PYREPL_TOX_RUN_CMD:pytest} {posargs}
coverage: coverage combine
coverage: coverage report -m
coverage: coverage xml
passenv =
PYTEST_ADDOPTS
TERM
setenv =
coverage: _PYREPL_TOX_RUN_CMD=coverage run -m pytest
[testenv:qa]
deps =
flake8
mccabe
commands = flake8 --max-complexity=10 setup.py pyrepl testing pythoni pythoni1
[pytest]
testpaths = testing
addopts = -ra
filterwarnings =
error
[coverage:run]
include = pyrepl/*, testing/*
parallel = 1
branch = 1
[coverage:paths]
source = pyrepl/
*/lib/python*/site-packages/pyrepl/
*/pypy*/site-packages/pyrepl/
*\Lib\site-packages\pyrepl\