forked from cookiecutter/cookiecutter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
55 lines (51 loc) · 988 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
43
44
45
46
47
48
49
50
51
52
53
54
55
[tox]
envlist =
lint
py36
py37
py38
pypy3
minversion = 3.14.2
requires =
# https://github.com/tox-dev/tox/issues/765
virtualenv >= 16.7.9
pip >= 19.3.1
[testenv]
passenv =
LC_ALL
LANG
HOME
commands =
pip install -e .
pytest --cov=cookiecutter {posargs:tests}
deps = -rtest_requirements.txt
skip_install = true
[testenv:lint]
commands =
python -m pre_commit run {posargs:--all}
deps = pre-commit>=1.20.0
skip_install = true
usedevelop = false
[testenv:cov-report]
passenv =
LC_ALL
LANG
HOME
commands =
pip install -e .
pytest --cov=cookiecutter --cov-report=term --cov-report=html --cov-report=xml
deps = -rtest_requirements.txt
skip_install = true
[testenv:docs]
passenv =
LC_ALL
LANG
HOME
commands =
pip install -e .
pip install -r test_requirements.txt
pip install -r docs/requirements.txt
make docs
whitelist_externals = make
deps = -rtest_requirements.txt
skip_install = true