blob: 2737a87e8207a68089db6294b1df649242c1eb9c (
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
|
[tox]
envlist = py3, mypy, lint
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}
mypy --config-file=../mypy.ini -p ceph
[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 =
-rrequirements-lint.txt
commands =
flake8 {posargs:ceph}
rstcheck --report info --debug README.rst
|