]> 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>
Fri, 9 Dec 2022 16:19:43 +0000 (11:19 -0500)
commit8e5840ff2c5815897e3eaeb136927971ad6f5384
tree410cc62433ac9276d85318f0f2ccf21507e59a2b
parent94a142f227cfc9a30d62c307267f3493ba307171
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>
src/pybind/mgr/requirements-required.txt
src/pybind/mgr/tox.ini