]> git-server-git.apps.pok.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>
Mon, 12 Dec 2022 17:44:47 +0000 (12:44 -0500)
commita01cd19dafdf540faf11ba457f185879434e02ad
tree7ec9e5f068f645bd1a1f0f1cee3aea0702ef75ba
parent5c3cd25d28bfbc355291ceb7abe9333890108a35
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)
src/pybind/mgr/requirements-required.txt