Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 25, 2023
1 parent c59f388 commit 36135e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wrapanapi/systems/ec2.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ def get_tag_value(self, key) -> str:
return tags[0].get("Value")
return None

def get_tags(self, regex="") -> typing.List[dict]:
def get_tags(self, regex="") -> list[dict]:
"""
Returns a list of tags (a dict with keys 'Key' and 'Value').
Tags are taken from the resource properties.
Expand Down Expand Up @@ -1808,7 +1808,7 @@ def cleanup_resources(self):
self.remove_all_unused_volumes()
self.remove_all_unused_ips()

def list_resources(self, query="", view="") -> typing.List[ResourceExplorerResource]:
def list_resources(self, query="", view="") -> list[ResourceExplorerResource]:
"""
Lists resources using AWS Resource Explorer (resource-explorer-2).
Expand Down

0 comments on commit 36135e7

Please sign in to comment.