]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/volumes: skip type checking on RTimer class
authorMichael Fritch <mfritch@suse.com>
Tue, 3 Mar 2020 15:21:18 +0000 (08:21 -0700)
committerMichael Fritch <mfritch@suse.com>
Thu, 5 Mar 2020 20:19:33 +0000 (13:19 -0700)
commitac02377190c23b5c5ccfac8d934dec8a2220548e
tree8b887f9ce23241a87ff3ff373173f5959bdb55c4
parenta611864dae86fcee9ea9cb9725aa26318396b55e
mgr/volumes: skip type checking on RTimer class

Unclear why mypy does not like this:

volumes/fs/operations/volume.py: note: In member "run" of class "RTimer":
volumes/fs/operations/volume.py:118: error: "RTimer" has no attribute "finished"
volumes/fs/operations/volume.py:119: error: "RTimer" has no attribute "finished"
volumes/fs/operations/volume.py:119: error: "RTimer" has no attribute "interval"
volumes/fs/operations/volume.py:120: error: "RTimer" has no attribute "function"
volumes/fs/operations/volume.py:120: error: "RTimer" has no attribute "args"
volumes/fs/operations/volume.py:120: error: "RTimer" has no attribute "kwargs"
volumes/fs/operations/volume.py:121: error: "RTimer" has no attribute "finished"

Fixes: https://tracker.ceph.com/issues/44393
Signed-off-by: Michael Fritch <mfritch@suse.com>
src/pybind/mgr/volumes/fs/operations/volume.py