]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/tox.ini: add commas in "modules" variable 49542/head
authorKefu Chai <tchaikov@gmail.com>
Sun, 18 Dec 2022 12:18:44 +0000 (20:18 +0800)
committerPedro Gonzalez Gomez <pegonzal@redhat.com>
Thu, 22 Dec 2022 12:19:48 +0000 (13:19 +0100)
commitbfd909396dff632b4cc965adce0ba90c583ea022
tree2e35bd51a1d59a1f28ffd32ac3f0e75ddf3f0368
parentb00d05c94818dc76d122d5e1cffbd6fbbcd28aff
pybind/mgr/tox.ini: add commas in "modules" variable

since tox v4.0.13, it parses the variables differently, so the newlines
in a variable are passed right to the command referencing it. so we now
have failure like:
```
flake8: commands[0] /home/jenkins-build/build/workspace/ceph-pull-requests/src/pybind/mgr> flake8 --config=tox.ini alerts
flake8: commands[1] /home/jenkins-build/build/workspace/ceph-pull-requests/src/pybind/mgr> balancer
flake8: exit 2 (0.00 seconds) /home/jenkins-build/build/workspace/ceph-pull-requests/src/pybind/mgr> balancer
flake8: FAIL ✖ in 3.33 seconds
```
so we have to add comma as line continuation separator to address
this problem.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit 0cc649f029d40555e1d059e3de3739be7b9ae197)

 Conflicts:
src/pybind/mgr/tox.ini

pacific has different modules in flake8's tox file which conflicted with the main branch.
src/pybind/mgr/tox.ini