From: Adam King Date: Fri, 9 Dec 2022 16:10:36 +0000 (-0500) Subject: mgr/pybind: fix mypy arg parsing X-Git-Tag: v17.2.6~281^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a01cd19dafdf540faf11ba457f185879434e02ad;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) --- diff --git a/src/pybind/mgr/requirements-required.txt b/src/pybind/mgr/requirements-required.txt index a750b0537910..1c4bbf4710b9 100644 --- a/src/pybind/mgr/requirements-required.txt +++ b/src/pybind/mgr/requirements-required.txt @@ -1,4 +1,4 @@ --e../../python-common +-e ../../python-common asyncmock cherrypy cryptography