]>
Commit | Line | Data |
---|---|---|
9f95a23c TL |
1 | [tox] |
2 | envlist = py3, lint | |
3 | skip_missing_interpreters = true | |
4 | ||
5 | [testenv:py3] | |
6 | deps= | |
7 | -rrequirements.txt | |
8 | commands= | |
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] | |
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 |