Skip to content

Commit

Permalink
Deprecated ruff option (#1425)
Browse files Browse the repository at this point in the history
Replace deprecated ruff option

Also fixes a warning detected with the new ruff version.
  • Loading branch information
chraibi authored Sep 23, 2024
1 parent 1bc640a commit 340173a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/ci/check_format.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ cmake --build . --target check-format -- VERBOSE=1

cd ..

ruff check --show-source
ruff check --output-format full
ruff format --diff
2 changes: 1 addition & 1 deletion systemtest/test_stages.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def test_can_add_waypoint(square_room_5x5_with_obstacle, waypoint_position):
waypoint_id = simulation.add_waypoint_stage(waypoint_position, 1)
waypoint_stage = simulation.get_stage(waypoint_id)

assert type(waypoint_stage) == jps.WaypointStage
assert type(waypoint_stage) is jps.WaypointStage


def test_can_not_add_waypoint_outside_geometry(square_room_5x5):
Expand Down

0 comments on commit 340173a

Please sign in to comment.