-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathtox.ini
57 lines (50 loc) · 1.58 KB
/
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
56
57
[tox]
envlist = py{39,310,311,312,py3}-{linux,windows,darwin}, lint, checkdocs, verify
skip_missing_interpreters = true
[testenv]
platform = linux: linux
windows: win32
darwin: darwin
commands = python -m pytest --cov=pipcompilemulti --cov-branch --cov-report=html
deps =
linux: -r{toxinidir}/requirements/test.hash
darwin: -r{toxinidir}/requirements/test.hash
windows: -r{toxinidir}/requirements/testwin.hash
[testenv:lint]
skip_install = true
basepython = python3.9
commands =
pylint -r y pipcompilemulti/ tests/
deps =
-r{toxinidir}/requirements/local.hash
[testenv:checkdocs]
skip_install = true
commands = python setup.py checkdocs
deps =
collective.checkdocs
pygments
[testenv:verify]
skipsdist = true
skip_install = true
basepython = python3.9
deps = pip-compile-multi
commands = pip-compile-multi verify
whitelist_externals = pip-compile-multi
[testenv:lock]
basepython = python3.9
usedevelop = True
deps = -rrequirements/base.hash
commands =
pip-compile-multi --autoresolve -t requirements/local.in --no-upgrade --skip-constraints --allow-unsafe
pip-compile-multi -t requirements/local.txt -g local -i txt -o hash --allow-unsafe --no-upgrade --use-cache
[testenv:upgrade]
basepython = python3.9
usedevelop = True
deps = -rrequirements/base.hash
commands =
pip-compile-multi --autoresolve -t requirements/local.in --skip-constraints --allow-unsafe
pip-compile-multi -t requirements/local.txt -g local -i txt -o hash --allow-unsafe --no-upgrade --use-cache
[pytest]
addopts = -vvvs --doctest-modules
log_cli = true
log_level = NOTSET