Skip to content

Commit

Permalink
resolve pylint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jtdub committed Jan 8, 2024
1 parent 023db10 commit 317cf8a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hier_config/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
4 changes: 2 additions & 2 deletions hier_config/host.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 317cf8a

Please sign in to comment.