Skip to content

Commit

Permalink
Remove quotes from type-annotations (UP037)
Browse files Browse the repository at this point in the history
  • Loading branch information
ogenstad committed Jun 28, 2024
1 parent 7a93f23 commit 88ce716
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nornir/core/inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 88ce716

Please sign in to comment.