Debian Codegraph @

tox.ini

raw
1 [tox]
2 envlist = py3{10,11,12,13,14},coverage,docs,lint,wheel
3
4 [testenv]
5 allowlist_externals = ./run_tests.py
6 pip_pre = True
7 passenv =
8 CFLAGS
9 CPPFLAGS
10 LDFLAGS
11 setenv =
12 PYTHONPATH = {toxinidir}
13 deps =
14 coverage: coverage
15 wheel:
16 build
17 setuptools >= 65
18 wheel
19 commands =
20 py3{10,11,12,13,14}: ./run_tests.py
21 coverage: coverage erase
22 coverage: coverage run --source=dfwinreg --omit="*_test*,*__init__*,*test_lib*" run_tests.py
23 coverage: coverage xml
24 wheel: python -m build --no-isolation --wheel
25
26 [testenv:docs]
27 usedevelop = True
28 deps =
29 -rdocs/requirements.txt
30 commands =
31 sphinx-build -b html -d build/doctrees docs dist/docs
32 sphinx-build -b linkcheck docs dist/docs
33
34 [testenv:lint]
35 skipsdist = True
36 pip_pre = True
37 passenv =
38 CFLAGS
39 CPPFLAGS
40 LDFLAGS
41 setenv =
42 PYTHONPATH = {toxinidir}
43 deps =
44 pylint >= 3.3.0, < 3.4.0
45 setuptools >= 65
46 yamllint >= 1.26.0
47 commands =
48 pylint --version
49 yamllint -v
50 pylint --rcfile=.pylintrc dfwinreg tests
51 yamllint -c .yamllint.yaml dfwinreg