forked from roflcoopter/viseron
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
31 lines (23 loc) · 691 Bytes
/
Copy pathtox.ini
File metadata and controls
31 lines (23 loc) · 691 Bytes
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
[testenv]
allowlist_externals =
/usr/bin/docker
/usr/bin/docker-compose
/usr/local/bin/docker-compose
deps =
-r{toxinidir}/requirements_test.txt
commands =
pre-commit install
[testenv:pytest]
commands_pre =
docker-compose --file azure-pipelines/docker-compose-build.yaml --env-file azure-pipelines/.env build amd64-viseron-tests
commands =
docker-compose --file azure-pipelines/docker-compose-build.yaml --env-file azure-pipelines/.env run --rm amd64-viseron-tests
[testenv:pylint]
commands=
pylint viseron
[testenv:codespell]
commands =
pre-commit run codespell {posargs: --all-files}
[testenv:flake8]
commands =
pre-commit run flake8 {posargs: --all-files}