]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr: disable mypy error in diskprediction_local module 63931/head
authorJohn Mulligan <jmulligan@redhat.com>
Fri, 13 Jun 2025 22:05:50 +0000 (18:05 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Fri, 13 Jun 2025 22:05:50 +0000 (18:05 -0400)
commit848abacfc7b9e532d362be02d7a3486f7f633f37
tree7bbf96b56cd9b88cb1c9ca24f39daa3e95070820
parentd7ef422f65750c2f7c6e7e9da9f80c9367be0814
pybind/mgr: disable mypy error in diskprediction_local module

Currently on python 3.12 mypy detects one of the variables used in the
expression as an zero-element tuple. This module is not getting a lot
of attention so I'm doing the bare minimum to stop the tests from
failing here and silencing mypy with a magic comment.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/pybind/mgr/diskprediction_local/predictor.py