Closed aedwardstx closed 1 week ago
$ mypy --strict hier_config/ hier_config/options.py:1: error: Implicit generic "Any". Use "typing.Dict" and specify generic parameters hier_config/options.py:16: error: Implicit generic "Any". Use "typing.Dict" and specify generic parameters hier_config/options.py:79: error: Implicit generic "Any". Use "typing.Dict" and specify generic parameters hier_config/options.py:183: error: Implicit generic "Any". Use "typing.Dict" and specify generic parameters hier_config/options.py:320: error: Implicit generic "Any". Use "typing.Dict" and specify generic parameters hier_config/options.py:558: error: Implicit generic "Any". Use "typing.Dict" and specify generic parameters hier_config/options.py:689: error: Implicit generic "Any". Use "typing.Dict" and specify generic parameters hier_config/options.py:691: error: Implicit generic "Any". Use "typing.Dict" and specify generic parameters hier_config/base.py:67: error: Implicit generic "Any". Use "typing.Dict" and specify generic parameters hier_config/base.py:151: error: Implicit generic "Any". Use "typing.Dict" and specify generic parameters hier_config/base.py:191: error: Implicit generic "Any". Use "typing.Dict" and specify generic parameters hier_config/child.py:40: error: Implicit generic "Any". Use "typing.Dict" and specify generic parameters hier_config/child.py:41: error: Implicit generic "Any". Use "typing.Dict" and specify generic parameters hier_config/child.py:91: error: Implicit generic "Any". Use "typing.Dict" and specify generic parameters hier_config/child.py:350: error: Implicit generic "Any". Use "typing.Dict" and specify generic parameters hier_config/child.py:418: error: Implicit generic "Any". Use "typing.Dict" and specify generic parameters hier_config/child.py:418: error: Implicit generic "Any". Use "typing.List" and specify generic parameters hier_config/child.py:419: error: Implicit generic "Any". Use "typing.Dict" and specify generic parameters hier_config/child.py:446: error: Implicit generic "Any". Use "typing.List" and specify generic parameters hier_config/child.py:469: error: Implicit generic "Any". Use "typing.List" and specify generic parameters hier_config/child.py:481: error: Implicit generic "Any". Use "typing.List" and specify generic parameters hier_config/root.py:83: error: Implicit generic "Any". Use "typing.Dict" and specify generic parameters hier_config/root.py:147: error: Implicit generic "Any". Use "typing.Dict" and specify generic parameters hier_config/root.py:175: error: Implicit generic "Any". Use "typing.Dict" and specify generic parameters hier_config/root.py:196: error: Implicit generic "Any". Use "typing.List" and specify generic parameters hier_config/host.py:44: error: Implicit generic "Any". Use "typing.Dict" and specify generic parameters hier_config/host.py:44: error: Incompatible default for argument "hconfig_options" (default has type "None", argument has type "Dict[Any, Any]") hier_config/host.py:51: error: Implicit generic "Any". Use "typing.Dict" and specify generic parameters hier_config/host.py:107: error: Implicit generic "Any". Use "typing.Dict" and specify generic parameters hier_config/host.py:140: error: Implicit generic "Any". Use "typing.List" and specify generic parameters hier_config/host.py:168: error: Implicit generic "Any". Use "typing.List" and specify generic parameters hier_config/host.py:168: error: Implicit generic "Any". Use "typing.Dict" and specify generic parameters Found 32 errors in 5 files (checked 7 source files)
Addressed in https://github.com/netdevops/hier_config/pull/133