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>
--e../../python-common
+-e ../../python-common
asyncmock
cherrypy
cryptography
passenv =
MYPYPATH
basepython = python3
+mypy_args =
+ --config-file=../../mypy.ini \
+ -m alerts \
+ -m balancer \
+ -m cephadm \
+ -m crash \
+ -m dashboard \
+ -m devicehealth \
+ -m diskprediction_local \
+ -m hello \
+ -m influx \
+ -m iostat \
+ -m localpool \
+ -m mds_autoscaler \
+ -m mgr_module \
+ -m mgr_util \
+ -m mirroring \
+ -m nfs \
+ -m orchestrator \
+ -m pg_autoscaler \
+ -m progress \
+ -m prometheus \
+ -m rbd_support \
+ -m rook \
+ -m snap_schedule \
+ -m selftest \
+ -m stats \
+ -m status \
+ -m telegraf \
+ -m telemetry \
+ -m test_orchestrator \
+ -m volumes \
+ -m zabbix
deps =
-rrequirements.txt
-c{toxinidir}/../../mypy-constrains.txt