]> git.proxmox.com Git - ceph.git/blob - ceph/src/cephadm/tox.ini
cbe71cae8c33632fbf771fa9e947034e8321856e
[ceph.git] / ceph / src / cephadm / tox.ini
1 [tox]
2 envlist = py3, mypy, flake8
3 skipsdist=true
4
5 [flake8]
6 max-line-length = 100
7 inline-quotes = '
8 ignore =
9 E501,
10 W503,
11 exclude =
12 .tox,
13 .vagrant,
14 __pycache__,
15 *.pyc,
16 templates,
17 .eggs
18 statistics = True
19
20 [testenv]
21 skip_install=true
22 deps =
23 pytest
24 mock
25 commands=pytest {posargs}
26
27 [testenv:mypy]
28 basepython = python3
29 deps = mypy==0.790
30 commands = mypy --config-file ../mypy.ini {posargs:cephadm}
31
32 [testenv:flake8]
33 basepython = python3
34 deps =
35 flake8
36 flake8-quotes
37 commands =
38 flake8 --config=tox.ini {posargs:cephadm}