]> 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)
committerAfreen <afreen23.git@gmail.com>
Thu, 15 Feb 2024 08:29:14 +0000 (13:59 +0530)
commit49f22553475d9a81780b82f923b0886e08fa4fac
treecdc404b1d7926d32cde4a6aa3f9140acd39db79b
parentd30bb3704cb95932fae87c3329d7c3cdd6a61d7e
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>
(cherry picked from commit e767b8643aa6565a6149a600df3d87a7b31f737a)
src/pybind/mgr/dashboard/services/exception.py