blob: e0b59c700ca3eb6bc8df6529b9d1edc461994646 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
[tox]
envlist = lint, rstcheck, mypy, py3
skip_missing_interpreters = true
[testenv:py3]
deps=
-rrequirements.txt
-c{toxinidir}/../mypy-constrains.txt
commands=
pytest --doctest-modules ceph/deployment/service_spec.py ceph/utils.py
pytest {posargs}
[testenv:mypy]
deps=
-rrequirements.txt
-c{toxinidir}/../mypy-constrains.txt
commands=
mypy --config-file=../mypy.ini -p ceph
[tool:pytest]
norecursedirs = .* _* virtualenv
[flake8]
max-line-length = 100
exclude =
__pycache__
[testenv:lint]
deps =
flake8
commands =
flake8 {posargs:ceph}
[testenv:rstcheck]
deps =
rstcheck
commands =
rstcheck --report-level info README.rst
|