diff options
Diffstat (limited to 'src/pybind/mgr/tox.ini')
-rw-r--r-- | src/pybind/mgr/tox.ini | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/pybind/mgr/tox.ini b/src/pybind/mgr/tox.ini index 4190bcf44db..5afbe93ace0 100644 --- a/src/pybind/mgr/tox.ini +++ b/src/pybind/mgr/tox.ini @@ -7,7 +7,6 @@ envlist = check-black check-isort py3 - py37 skipsdist = true skip_missing_interpreters = true @@ -69,7 +68,7 @@ commands = [testenv:{,py37-,py38-,py39-,py310-}mypy] setenv = - MYPYPATH = {toxinidir}/.. + MYPYPATH = {toxinidir}/..:{toxinidir}/../../python-common passenv = MYPYPATH deps = @@ -115,8 +114,7 @@ commands = -m telegraf \ -m telemetry \ -m test_orchestrator \ - -m volumes \ - -m zabbix + -m volumes [testenv:test] @@ -161,7 +159,8 @@ modules = commands = flake8 --config=tox.ini {posargs} \ {posargs:{[testenv:flake8]modules}} - bash -c 'test $(git ls-files cephadm | grep ".py$" | grep -v tests | xargs grep "docker.io" | wc -l) == 13' + bash -c 'test $(git ls-files cephadm | grep ".py$" | grep -v tests | xargs grep "docker.io" | wc -l) == 3' + bash -c 'test $(git ls-files cephadm | grep ".py$" | grep -v tests | xargs grep "quay.io" | wc -l) == 8' [testenv:jinjalint] deps = |