]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: ignore type checking for exception handling module
authorJohn Mulligan <jmulligan@redhat.com>
Tue, 28 Mar 2023 21:07:20 +0000 (17:07 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 30 Mar 2023 20:52:53 +0000 (16:52 -0400)
commite767b8643aa6565a6149a600df3d87a7b31f737a
treee60ecb18ce4054ea75fa5e66666a2159e11b53d6
parentbc65da0acdfbe99d847f8f304eb1e470b072561b
mgr/dashboard: ignore type checking for exception handling module

Add a `# type: ignore` comment to the exception handling dashboard
module just like the instance to lines below. This module does not
already import typing, so I'm not going to add it.
This change is needed in order to run mypy 0.981.

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