From f3a751b3953032a8eb73af96a725cef902bde020 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sun, 21 Aug 2022 17:34:07 +0200 Subject: mypy: Type some more things MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This lets us pass under mypy 0.971, and is yet another step towards mypyc compatibility perhaps. --- poezio/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'poezio/plugin.py') diff --git a/poezio/plugin.py b/poezio/plugin.py index 9101c6bb..f38e47e2 100644 --- a/poezio/plugin.py +++ b/poezio/plugin.py @@ -426,7 +426,7 @@ class BasePlugin(object, metaclass=SafetyMetaclass): self.init() @property - def name(self): + def name(self) -> str: """ Get the name (module name) of the plugin. """ -- cgit v1.2.3