]> git.proxmox.com Git - ceph.git/blob - ceph/src/python-common/tox.ini
import 15.2.0 Octopus source
[ceph.git] / ceph / src / python-common / tox.ini
1 [tox]
2 envlist = py3, lint
3 skip_missing_interpreters = true
4
5 [testenv:py3]
6 deps=
7 -rrequirements.txt
8 commands=
9 pytest --doctest-modules ceph/deployment/service_spec.py
10 pytest --mypy --mypy-ignore-missing-imports {posargs}
11
12 [tool:pytest]
13 norecursedirs = .* _* virtualenv
14
15 [flake8]
16 max-line-length = 100
17 exclude =
18 __pycache__
19
20 [testenv:lint]
21 deps =
22 -rrequirements-lint.txt
23 commands =
24 flake8 {posargs:ceph}
25 rstcheck --report info --debug README.rst
26