]> git.apps.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)
committerAdam King <adking@redhat.com>
Tue, 25 Apr 2023 12:36:55 +0000 (08:36 -0400)
commit4f59e3b9271cf7a0fa019a9f36a81cbb7bd6a338
treed455dab7be8dee95f4fd92a916a91fae1b07bfa3
parent9e87d07c427fc8fd2a7b9b94213cb6365473edcd
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