File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 5050import itertools
5151import os
5252import sys
53- from typing import List , Optional , TYPE_CHECKING
53+ from typing import Optional , TYPE_CHECKING
5454
5555# TODO: refactor along with usage in sopel.__init__ in py3.8+ world
5656import importlib_metadata
@@ -161,7 +161,7 @@ def has_setup(self) -> bool:
161161 """
162162
163163 @abc .abstractmethod
164- def get_capability_requests (self ) -> List [plugin_decorators .capability ]:
164+ def get_capability_requests (self ) -> list [plugin_decorators .capability ]:
165165 """Retrieve the plugin's list of capability requests."""
166166
167167 @abc .abstractmethod
@@ -363,7 +363,7 @@ def has_setup(self):
363363 """
364364 return hasattr (self .module , 'setup' )
365365
366- def get_capability_requests (self ) -> List [plugin_decorators .capability ]:
366+ def get_capability_requests (self ) -> list [plugin_decorators .capability ]:
367367 return [
368368 module_attribute
369369 for module_attribute in vars (self .module ).values ()
You can’t perform that action at this time.
0 commit comments