Skip to content

Commit 8b88b87

Browse files
[pre-commit.ci lite] apply automatic fixes
1 parent e4f2e13 commit 8b88b87

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

src/software/simulated_tests/validation/avoid_collisions.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ def __init__(self):
2121
self.fouled_robots = []
2222

2323
@override
24-
def get_validation_status(self, world: World, simulator_state=None) -> ValidationStatus:
24+
def get_validation_status(
25+
self, world: World, simulator_state=None
26+
) -> ValidationStatus:
2527
"""Checks if any 2 robots in the world have collided
2628
2729
:param world: the World message to validate

src/software/simulated_tests/validation/validation.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,9 @@ def create_validation_proto_helper(validation_proto_set, validation):
188188
validation_proto = ValidationProto()
189189

190190
# Get status
191-
status = validation.get_validation_status(world, simulator_state=simulator_state)
191+
status = validation.get_validation_status(
192+
world, simulator_state=simulator_state
193+
)
192194

193195
# Create validation proto
194196
validation_proto.status = status

0 commit comments

Comments
 (0)