From: Adam King Date: Fri, 9 Dec 2022 16:10:36 +0000 (-0500) Subject: mgr/pybind: fix mypy arg parsing X-Git-Tag: v16.2.11~54^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d81c103a2156354a8a5b51ef526df6651744bbd0;p=ceph.git 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 (cherry picked from commit 8e5840ff2c5815897e3eaeb136927971ad6f5384) Conflicts: src/pybind/mgr/requirements-required.txt --- diff --git a/src/pybind/mgr/requirements.txt b/src/pybind/mgr/requirements.txt index 88b9c1b855b9..d2ee6cf63ff8 100644 --- a/src/pybind/mgr/requirements.txt +++ b/src/pybind/mgr/requirements.txt @@ -1,5 +1,5 @@ pytest-cov==2.7.1 --e../../python-common +-e ../../python-common kubernetes requests-mock pyyaml