diff --git a/hier_config/base.py b/hier_config/base.py index 44ec367..e823678 100644 --- a/hier_config/base.py +++ b/hier_config/base.py @@ -135,7 +135,7 @@ def add_child( self.logs.append(f"Found a duplicate section: {list(self.path()) + [text]}") return self.children_dict[text] - def path(self) -> Iterator[str]: # pylint: disable=no-self-use + def path(self) -> Iterator[str]: yield from () def add_deep_copy_of( diff --git a/hier_config/host.py b/hier_config/host.py index bd78569..497500c 100644 --- a/hier_config/host.py +++ b/hier_config/host.py @@ -175,8 +175,8 @@ def _load_from_file(name: str, parse_yaml: bool = False) -> Union[list, dict, st return content - def _get_running_config(self) -> HConfig: # pylint: disable=no-self-use + def _get_running_config(self) -> HConfig: return NotImplemented - def _get_generated_config(self) -> HConfig: # pylint: disable=no-self-use + def _get_generated_config(self) -> HConfig: return NotImplemented