]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
pybind/mgr: disable flake8 on a few non-obvious issues
authorJohn Mulligan <jmulligan@redhat.com>
Tue, 7 May 2024 17:50:28 +0000 (13:50 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 13 Jun 2024 14:14:29 +0000 (10:14 -0400)
commitb1b65eb7592d76269d685613c50b9ed5e5a4fafe
treefb5bcbfeac57a123f5e0030bc080288c839d31e5
parented6b0529b5efba45e35090fd9110602aa6bc5a85
pybind/mgr: disable flake8 on a few non-obvious issues

Use the `noqa` comment on a handful of lines that flake8 detects as
issues. I don't want to invest a ton of time looking into if the
imports cause needed side-effects. I also don't want to debug if
the bare except is trying to catch exceptions that don't inherit
from Exception. So, make the file flake8 clean by just suppressing
these remaining things.

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