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