]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/pybind: fix mypy arg parsing
authorAdam King <adking@redhat.com>
Fri, 9 Dec 2022 16:10:36 +0000 (11:10 -0500)
committerAdam King <adking@redhat.com>
Sat, 10 Dec 2022 16:44:12 +0000 (11:44 -0500)
commitd81c103a2156354a8a5b51ef526df6651744bbd0
treea7a8f97ab831d7b6a86e8aafbbc961215ea34c0a
parentad0c795f62fef0ed1c138645cff47a223846945d
mgr/pybind: fix mypy arg parsing

On the new tox version it is treating each line as a new command
so it will do something like "mypy --config-file=../../mypy.ini"
as one command and then "-m balancer" as a totally separate command.
The first one immediately fails as it doesn't include any modules
to test. Adding backslashes to the ends of the lines gets it to
handle the lines as one long command

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 8e5840ff2c5815897e3eaeb136927971ad6f5384)

Conflicts:
src/pybind/mgr/requirements-required.txt
src/pybind/mgr/requirements.txt