]> git.proxmox.com Git - ceph.git/blob - ceph/qa/tox.ini
bump version to 18.2.2-pve1
[ceph.git] / ceph / qa / tox.ini
1 [tox]
2 envlist = flake8, mypy, pytest, deadsymlinks
3 skipsdist = True
4
5 [testenv]
6 setenv =
7 LC_ALL = C.UTF-8
8 LANG = C
9
10 [testenv:flake8]
11 basepython = python3
12 deps=
13 flake8
14 commands=flake8 --select=F,E9 --exclude=venv,.tox
15
16 [testenv:mypy]
17 basepython = python3
18 deps =
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
28 commands = mypy {posargs:.}
29
30 [testenv:py3]
31 basepython = python3
32 deps =
33 {env:TEUTHOLOGY_GIT:git+https://github.com/ceph/teuthology.git@main}#egg=teuthology[coverage,orchestra,test]
34 httplib2
35 pytest
36 commands =
37 pytest --assert=plain test_import.py
38 pytest tasks/tests --suite-dir {toxinidir}/suites {posargs}
39
40 [testenv:deadsymlinks]
41 basepython = python3
42 toxworkdir = {toxinidir}
43 allowlist_externals =
44 bash
45 commands =
46 bash -c '! (find . -xtype l | grep ^)'