From 19fcec84d8d7d21e796c7624e521b60d28ee21ed Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 20:45:59 +0200 Subject: Adding upstream version 16.2.11+ds. Signed-off-by: Daniel Baumann --- src/python-common/tox.ini | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/python-common/tox.ini (limited to 'src/python-common/tox.ini') diff --git a/src/python-common/tox.ini b/src/python-common/tox.ini new file mode 100644 index 000000000..5869b6ae2 --- /dev/null +++ b/src/python-common/tox.ini @@ -0,0 +1,27 @@ +[tox] +envlist = py3, lint +skip_missing_interpreters = true + +[testenv:py3] +deps= + -rrequirements.txt +commands= + pytest --doctest-modules ceph/deployment/service_spec.py ceph/utils.py + pytest {posargs} + 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 + -- cgit v1.2.3