Skip to content

Commit c866b78

Browse files
committed
Clean up no-untyped-def #46
Change-Id: Ieb56a1f986fe68df735aada5014cb6f3f959e02c
1 parent 726b1f1 commit c866b78

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

cmk/post_rename_site/registry.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# This file is part of Checkmk (https://checkmk.com). It is subject to the terms and
44
# conditions defined in the file COPYING, which is part of this source code package.
55

6-
# mypy: disable-error-code="no-untyped-def"
76

87
from collections.abc import Callable
98
from logging import Logger
@@ -45,7 +44,7 @@ def run(self, old_site_id: SiteId, new_site_id: SiteId) -> None:
4544

4645

4746
class RenameActionRegistry(Registry[RenameAction]):
48-
def plugin_name(self, instance):
47+
def plugin_name(self, instance: RenameAction) -> str:
4948
return instance.name
5049

5150

0 commit comments

Comments
 (0)