diff --git a/nornir/core/inventory.py b/nornir/core/inventory.py index 524e7b35..859a2fb1 100644 --- a/nornir/core/inventory.py +++ b/nornir/core/inventory.py @@ -181,7 +181,7 @@ def extended_groups(self) -> List["Group"]: this will return [group_a, group_1, group_X, group_2, group_b, group_3] """ - groups: List["Group"] = [] + groups: List[Group] = [] for g in self.groups: if g not in groups: diff --git a/pyproject.toml b/pyproject.toml index 52b3cdb9..8c4f67b1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -177,7 +177,7 @@ ignore = [ "UP015", # Unnecessary open mode parameters "UP032", # Use f-string instead of `format` call "UP034", # Avoid extraneous parentheses - "UP037", # Remove quotes from type annotation + #"UP037", # Remove quotes from type annotation ] [tool.ruff.format]