Fix the incorrect type definition.

This commit is contained in:
Mike Auty
2018-03-25 18:24:11 +01:00
parent 050b5539c0
commit 288d866dd3
+1 -1
View File
@@ -223,7 +223,7 @@ class CommandLine(object):
# Construct an argparse group
for requirement in configurable.get_requirements():
additional = {} # typing.Dict[str, typing.Any]
additional = {} # type: typing.Dict[str, typing.Any]
if not isinstance(requirement, interfaces.configuration.RequirementInterface):
raise TypeError(
"Plugin contains requirements that are not RequirementInterfaces: {}".format(configurable.__name__))