]> 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>
Sat, 10 Dec 2022 16:44:12 +0000 (11: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)

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

src/pybind/mgr/requirements.txt

index 88b9c1b855b9e1dca13ee0a348cba8360c43c6c7..d2ee6cf63ff8c4bc4c9dcc63f5954b28cabb1a95 100644 (file)
@@ -1,5 +1,5 @@
 pytest-cov==2.7.1
--e../../python-common
+-e ../../python-common
 kubernetes
 requests-mock
 pyyaml