Last of the typing fix-ups.

This commit is contained in:
Mike Auty
2018-06-04 23:55:38 +01:00
parent 2dc3d2928d
commit 113c23a66d
6 changed files with 20 additions and 21 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ class AutomagicInterface(interfaces_configuration.ConfigurableInterface, metacla
context: interfaces.context.ContextInterface,
config_path: str,
requirement: interfaces.configuration.RequirementInterface,
progress_callback: validity.ProgressCallback = None) -> typing.List[str]:
progress_callback: validity.ProgressCallback = None) -> typing.Optional[typing.List[typing.Any]]:
"""Runs the automagic over the configurable"""
return []
+2 -2
View File
@@ -104,8 +104,8 @@ class Module(validity.ValidityRoutines, metaclass = ABCMeta):
@abstractmethod
def object(self,
symbol_name: str,
type_name: str,
symbol_name: str = None,
type_name: str = None,
offset: int = None,
**kwargs) -> 'interfaces.objects.ObjectInterface':
"""Returns an object created using the symbol_table and layer_name of the Module"""