forked from fgoebel/toolset
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
27 lines (24 loc) · 775 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
[tox]
minversion = 3.9
isolated_build = true
skip_install = true
skipsdist = true
[testenv:lint]
description = Performs linting
deps =
pre-commit
commands =
pre-commit run -a
[testenv:deps]
description = Update deps and fails if they are modified after run.
deps =
pip-tools
# basepython must match the one we use inside the container
basepython = python3.8
commands =
# annotate disabled because it does produce different annotations on different platforms
pip-compile -U -q --allow-unsafe --no-annotate --output-file=requirements.txt requirements.in
bash -c "git --no-pager diff --quiet || \{ git status --porcelain; git --no-pager diff; echo 'ERROR: git in dirty status, reporting as failure'; exit 1; \}"
whitelist_externals =
git
bash