Skip to content

Commit

Permalink
Adapt type hints to the updated mypy 1.12.0 (from 1.10.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
pevogam committed Oct 17, 2024
1 parent 4188376 commit 0bdfd97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions avocado_i2n/cartgraph/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ def parse_flat_objects(
raise TypeError("Multi-variant image test objects are not supported.")
object_class = NetObject if category == "nets" else VMObject

test_objects = []
test_objects: list[TestObject] = []
# pick a suffix and all its variants via join operation
config = param.Reparsable()
config.parse_next_batch(
Expand Down Expand Up @@ -642,7 +642,7 @@ def parse_composite_objects(
else top_restriction
)

test_objects = []
test_objects: list[TestObject] = []
# all possible component object combinations for a given composite object
config = param.Reparsable()
# TODO: an unexpected order of joining in the Cartesian config requires us to parse nets first
Expand Down

0 comments on commit 0bdfd97

Please sign in to comment.