]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm: fix autopep8 arg parsing on newer tox versions
authorAdam King <adking@redhat.com>
Mon, 13 Feb 2023 03:18:25 +0000 (22:18 -0500)
committerAdam King <adking@redhat.com>
Mon, 13 Feb 2023 03:18:25 +0000 (22:18 -0500)
commit377b7606c1b04987925936d6bd1caab6a4da7ca5
treea31ff4a25c4fe46ccb52bdecfde79f79b09b50c3
parent8c1d7ce1ddb5b89e403fe2f6aef16e582b1c4733
cephadm: fix autopep8 arg parsing on newer tox versions

This was failing for me on new tox versions with

fix: commands[1]> autopep8 --max-line-length 100
incorrect number of argumentsfix: exit 99 (0.06 seconds) /home/adking/ceph/src/cephadm> autopep8 --max-line-length 100 pid=309039
fix: FAIL ✖ in 0.08 seconds

As it was considering our list of args for autopep8 to each be
one separate command. Fixed by just adding slashes to the ends
of the lines (as has already been done in the tox.ini in src/pybind/mgr
for some of the tests there)

Signed-off-by: Adam King <adking@redhat.com>
src/cephadm/tox.ini