-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathtox.ini
More file actions
38 lines (32 loc) · 885 Bytes
/
tox.ini
File metadata and controls
38 lines (32 loc) · 885 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
32
33
34
35
36
37
38
[tox]
envlist = py{3.11,3.12},pep8
skipsdist = True
[testenv]
basepython =
pep8: python3.11
py3.11: python3.11
py3.12: python3.12
passenv =
DOCKER_HOST
API_URL
setenv = VIRTUAL_ENV={envdir}
usedevelop = True
install_command = pip install -U {opts} {packages}
deps = -r{toxinidir}/test-requirements.txt
commands = find . -type f -name "*.pyc" -delete
whitelist_externals = find
rm
go
docker
[testenv:pep8]
commands = flake8
[testenv:venv]
commands = {posargs}
[testenv:py3.11]
commands = pytest -v -s --tb=long --cov=fdk {toxinidir}/fdk/tests
[testenv:py3.12]
commands = pytest -v -s --tb=long --cov=fdk {toxinidir}/fdk/tests
[flake8]
ignore = H405,H404,H403,H401,H306,H304,H101,E303,H301,W503
show-source = True
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,docs,venv,.venv