]> git.proxmox.com Git - ceph.git/blame - ceph/qa/tox.ini
bump version to 18.2.2-pve1
[ceph.git] / ceph / qa / tox.ini
CommitLineData
7c673cae 1[tox]
20effc67 2envlist = flake8, mypy, pytest, deadsymlinks
7c673cae
FG
3skipsdist = True
4
39ae355f
TL
5[testenv]
6setenv =
7 LC_ALL = C.UTF-8
8 LANG = C
9
f67539c2 10[testenv:flake8]
9f95a23c
TL
11basepython = python3
12deps=
13 flake8
14commands=flake8 --select=F,E9 --exclude=venv,.tox
15
16[testenv:mypy]
17basepython = python3
20effc67
TL
18deps =
19 mypy
20 types-boto
21 types-requests
22 types-jwt
23 types-paramiko
24 types-PyYAML
25 types-cryptography
26 types-python-dateutil
27 -c{toxinidir}/../src/mypy-constrains.txt
9f95a23c 28commands = mypy {posargs:.}
e306af50 29
20effc67 30[testenv:py3]
f67539c2 31basepython = python3
e306af50 32deps =
33c7a0ef 33 {env:TEUTHOLOGY_GIT:git+https://github.com/ceph/teuthology.git@main}#egg=teuthology[coverage,orchestra,test]
e306af50 34 httplib2
39ae355f 35 pytest
20effc67
TL
36commands =
37 pytest --assert=plain test_import.py
38 pytest tasks/tests --suite-dir {toxinidir}/suites {posargs}
39
40[testenv:deadsymlinks]
41basepython = python3
42toxworkdir = {toxinidir}
43allowlist_externals =
44 bash
45commands =
46 bash -c '! (find . -xtype l | grep ^)'