]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa: Enable basic mypy support for qa/ directory
authorThomas Bechtold <tbechtold@suse.com>
Thu, 9 Jan 2020 07:28:22 +0000 (08:28 +0100)
committerThomas Bechtold <tbechtold@suse.com>
Thu, 5 Mar 2020 05:54:56 +0000 (06:54 +0100)
commit46e22c422bcfab7d5cc4a2a88777f6eb1597d931
tree0061ce6feb37399aefb98021da5b9965a06be8f7
parentf5e77561e9a79f499cd8086abf7d49f7ccee96f7
qa: Enable basic mypy support for qa/ directory

A first step to do more automatic code checks on the qa/
directory. This is useful while transitioning to python3.

Also use log_exc to top-level to not run into:

error: Argument 1 to "log_exc" has incompatible type
  "Callable[[OSDThrasher], Any]"; expected "OSDThrasher"

Signed-off-by: Thomas Bechtold <tbechtold@suse.com>
qa/mypy.ini [new file with mode: 0644]
qa/tasks/ceph_manager.py
qa/tasks/cephfs/cephfs_test_case.py
qa/tasks/cephfs/test_full.py
qa/tox.ini
src/test/rgw/rgw_multi/tests.py
src/test/rgw/rgw_multi/zone_cloud.py
src/test/rgw/rgw_multi/zone_es.py
src/test/rgw/rgw_multi/zone_rados.py