]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/tox.ini
bump version to 15.2.4-pve1
[ceph.git] / ceph / src / pybind / mgr / tox.ini
1 [tox]
2 envlist = py3, mypy
3 skipsdist = true
4 requires = cython
5
6 [testenv]
7 setenv =
8 UNITTEST = true
9 PYTHONPATH = ../../../build/lib/cython_modules/lib.3/
10 LD_LIBRARY_PATH = ../../../build/lib
11 deps =
12 cython
13 -rrequirements.txt
14 commands =
15 pytest -v --cov --cov-append --cov-report= --doctest-modules {posargs: \
16 mgr_util.py \
17 tests/ \
18 cephadm/ \
19 orchestrator/ \
20 pg_autoscaler/ \
21 progress/}
22
23 [testenv:mypy]
24 basepython = python3
25 deps =
26 cython
27 -rrequirements.txt
28 mypy==0.770
29 commands = mypy --config-file=../../mypy.ini \
30 cephadm/module.py \
31 mgr_module.py \
32 dashboard/module.py \
33 mgr_util.py \
34 orchestrator/__init__.py \
35 progress/module.py \
36 rook/module.py \
37 osd_support/module.py \
38 test_orchestrator/module.py \
39 volumes/__init__.py