From: Kefu Chai Date: Sun, 31 Jan 2021 09:51:09 +0000 (+0800) Subject: pybind/mgr: define substitution for autopep8 params X-Git-Tag: v17.1.0~3077^2~15 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c26da642d638a4b0d263192924a8a8310a25e7af;p=ceph-ci.git pybind/mgr: define substitution for autopep8 params Signed-off-by: Kefu Chai --- diff --git a/src/pybind/mgr/tox.ini b/src/pybind/mgr/tox.ini index de5745a6cfa..3abdf04c5c3 100644 --- a/src/pybind/mgr/tox.ini +++ b/src/pybind/mgr/tox.ini @@ -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}}