]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/cephadm/tox.ini
import quincy beta 17.1.0
[ceph.git] / ceph / src / cephadm / tox.ini
index 6f25b4008f0fc3309ebacf22093a01204f27175c..cf76cfa31d0589feae5554084ba962790ac920af 100644 (file)
@@ -41,7 +41,9 @@ commands=pytest {posargs}
 
 [testenv:mypy]
 basepython = python3
-deps = mypy==0.790
+deps = 
+    mypy
+    -c{toxinidir}/../mypy-constrains.txt
 commands = mypy --config-file ../mypy.ini {posargs:cephadm}
 
 [testenv:fix]
@@ -54,8 +56,10 @@ commands =
 
 [testenv:flake8]
 basepython = python3
+allowlist_externals = bash
 deps =
     flake8
     flake8-quotes
 commands =
     flake8 --config=tox.ini {posargs:cephadm}
+    bash -c "test $(grep 'docker.io' cephadm | wc -l) == 11"