]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
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)
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

index a750b053791010526e088b81bbf1bceb437bec14..1c4bbf4710b969e1b6261a1811e289e32db4657d 100644 (file)
@@ -1,4 +1,4 @@
--e../../python-common
+-e ../../python-common
 asyncmock
 cherrypy
 cryptography