]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
pybind/mgr: define substitution for autopep8 params
authorKefu Chai <kchai@redhat.com>
Sun, 31 Jan 2021 09:51:09 +0000 (17:51 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 3 Feb 2021 09:17:24 +0000 (17:17 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/mgr/tox.ini

index de5745a6cfad1f62d07a7f744a346c827bc7d638..3abdf04c5c35a4d0e27759b97d387a133fb3ac64 100644 (file)
@@ -86,7 +86,10 @@ commands = {[testenv]commands}
 basepython = python3
 deps =
     autopep8
+modules =
+    cephadm
+    orchestrator
 commands =
     python --version
-    autopep8 {[autopep8]addopts} {posargs: \
-        cephadm/ orchestrator/}
+    autopep8 {[autopep8]addopts} \
+      {posargs:{[testenv:fix]modules}}