-
Notifications
You must be signed in to change notification settings - Fork 650
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci(pre-commit): format SVG files #2172
Conversation
Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
The core change is only c320468, and it's from https://github.com/tier4/pre-commit-hooks-ros/blob/ba80754516f108570ba2ccd5e5faad038bfe6947/.pre-commit-hooks.yaml. I'll move this local hook to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Without this PR: ❯ cspell control/trajectory_follower/design/media/BrakeKeeping.drawio.svg \
planning/behavior_velocity_planner/docs/BehaviorVelocityPlanner-Architecture.drawio.svg \
perception/radar_fusion_to_detected_object/docs/radar_fusion_to_detected_object_5.drawio.svg \
./sensing/pointcloud_preprocessor/docs/image/vector_map_inside_area_filter_overview.svg \
./planning/behavior_velocity_planner/docs/occlusion_spot/occlusion_spot.svg \
./planning/behavior_velocity_planner/docs/run_out/run_out_overview.svg \
./planning/behavior_velocity_planner/docs/run_out/collision_detection_for_shape.svg \
./planning/behavior_velocity_planner/docs/run_out/calculate_expected_target_velocity.svg \
./planning/behavior_velocity_planner/docs/run_out/exclude_obstacles_by_partition.svg \
./planning/behavior_velocity_planner/docs/run_out/collision_points.svg \
./planning/behavior_velocity_planner/docs/run_out/insert_velocity.svg \
./planning/behavior_velocity_planner/docs/run_out/create_dynamic_obstacle.svg \
./planning/behavior_velocity_planner/docs/run_out/insert_velocity_to_approach.svg
1/13 ./control/trajectory_follower/design/media/BrakeKeeping.drawio.svg 274.42ms
2/13 ./planning/behavior_velocity_planner/docs/BehaviorVelocityPlanner-Architecture.drawio.svg 146.67ms X
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/planning/behavior_velocity_planner/docs/BehaviorVelocityPlanner-Architecture.drawio.svg:473:33 - Unknown word (Stoplin)
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/planning/behavior_velocity_planner/docs/BehaviorVelocityPlanner-Architecture.drawio.svg:479:21 - Unknown word (Stoplin)
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/planning/behavior_velocity_planner/docs/BehaviorVelocityPlanner-Architecture.drawio.svg:1437:41 - Unknown word (Ligh)
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/planning/behavior_velocity_planner/docs/BehaviorVelocityPlanner-Architecture.drawio.svg:1443:29 - Unknown word (Ligh)
3/13 ./perception/radar_fusion_to_detected_object/docs/radar_fusion_to_detected_object_5.drawio.svg 20.27ms X
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/perception/radar_fusion_to_detected_object/docs/radar_fusion_to_detected_object_5.drawio.svg:156:52 - Unknown word (obejct)
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/perception/radar_fusion_to_detected_object/docs/radar_fusion_to_detected_object_5.drawio.svg:166:28 - Unknown word (obejct)
4/13 ./sensing/pointcloud_preprocessor/docs/image/vector_map_inside_area_filter_overview.svg 42.77ms
5/13 ./planning/behavior_velocity_planner/docs/occlusion_spot/occlusion_spot.svg 461.32ms
6/13 ./planning/behavior_velocity_planner/docs/run_out/run_out_overview.svg 55.49ms
7/13 ./planning/behavior_velocity_planner/docs/run_out/collision_detection_for_shape.svg 229.95ms
8/13 ./planning/behavior_velocity_planner/docs/run_out/calculate_expected_target_velocity.svg 13.11ms
9/13 ./planning/behavior_velocity_planner/docs/run_out/exclude_obstacles_by_partition.svg 24.72ms
10/13 ./planning/behavior_velocity_planner/docs/run_out/collision_points.svg 72.03ms
11/13 ./planning/behavior_velocity_planner/docs/run_out/insert_velocity.svg 39.74ms
12/13 ./planning/behavior_velocity_planner/docs/run_out/create_dynamic_obstacle.svg 65.77ms
13/13 ./planning/behavior_velocity_planner/docs/run_out/insert_velocity_to_approach.svg 36.17ms
CSpell: Files checked: 13, Issues found: 6 in 2 files With this PR: ❯ cspell control/trajectory_follower/design/media/BrakeKeeping.drawio.svg \
planning/behavior_velocity_planner/docs/BehaviorVelocityPlanner-Architecture.drawio.svg \
perception/radar_fusion_to_detected_object/docs/radar_fusion_to_detected_object_5.drawio.svg \
./sensing/pointcloud_preprocessor/docs/image/vector_map_inside_area_filter_overview.svg \
./planning/behavior_velocity_planner/docs/occlusion_spot/occlusion_spot.svg \
./planning/behavior_velocity_planner/docs/run_out/run_out_overview.svg \
./planning/behavior_velocity_planner/docs/run_out/collision_detection_for_shape.svg \
./planning/behavior_velocity_planner/docs/run_out/calculate_expected_target_velocity.svg \
./planning/behavior_velocity_planner/docs/run_out/exclude_obstacles_by_partition.svg \
./planning/behavior_velocity_planner/docs/run_out/collision_points.svg \
./planning/behavior_velocity_planner/docs/run_out/insert_velocity.svg \
./planning/behavior_velocity_planner/docs/run_out/create_dynamic_obstacle.svg \
./planning/behavior_velocity_planner/docs/run_out/insert_velocity_to_approach.svg
1/13 ./control/trajectory_follower/design/media/BrakeKeeping.drawio.svg 274.63ms
2/13 ./planning/behavior_velocity_planner/docs/BehaviorVelocityPlanner-Architecture.drawio.svg 137.81ms X
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/planning/behavior_velocity_planner/docs/BehaviorVelocityPlanner-Architecture.drawio.svg:532:17 - Unknown word (Stoplin)
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/planning/behavior_velocity_planner/docs/BehaviorVelocityPlanner-Architecture.drawio.svg:537:112 - Unknown word (Stoplin)
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/planning/behavior_velocity_planner/docs/BehaviorVelocityPlanner-Architecture.drawio.svg:1575:25 - Unknown word (Ligh)
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/planning/behavior_velocity_planner/docs/BehaviorVelocityPlanner-Architecture.drawio.svg:1580:120 - Unknown word (Ligh)
3/13 ./perception/radar_fusion_to_detected_object/docs/radar_fusion_to_detected_object_5.drawio.svg 19.65ms X
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/perception/radar_fusion_to_detected_object/docs/radar_fusion_to_detected_object_5.drawio.svg:190:50 - Unknown word (obejct)
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/perception/radar_fusion_to_detected_object/docs/radar_fusion_to_detected_object_5.drawio.svg:198:120 - Unknown word (obejct)
4/13 ./sensing/pointcloud_preprocessor/docs/image/vector_map_inside_area_filter_overview.svg 50.41ms
5/13 ./planning/behavior_velocity_planner/docs/occlusion_spot/occlusion_spot.svg 48.06ms
6/13 ./planning/behavior_velocity_planner/docs/run_out/run_out_overview.svg 78.61ms X
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/planning/behavior_velocity_planner/docs/run_out/run_out_overview.svg:28:634 - Unknown word (progid)
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/planning/behavior_velocity_planner/docs/run_out/run_out_overview.svg:28:668 - Unknown word (dropshadow)
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/planning/behavior_velocity_planner/docs/run_out/run_out_overview.svg:32:297 - Unknown word (MSIE)
7/13 ./planning/behavior_velocity_planner/docs/run_out/collision_detection_for_shape.svg 170.99ms X
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/planning/behavior_velocity_planner/docs/run_out/collision_detection_for_shape.svg:28:634 - Unknown word (progid)
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/planning/behavior_velocity_planner/docs/run_out/collision_detection_for_shape.svg:28:668 - Unknown word (dropshadow)
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/planning/behavior_velocity_planner/docs/run_out/collision_detection_for_shape.svg:32:297 - Unknown word (MSIE)
8/13 ./planning/behavior_velocity_planner/docs/run_out/calculate_expected_target_velocity.svg 27.02ms X
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/planning/behavior_velocity_planner/docs/run_out/calculate_expected_target_velocity.svg:28:634 - Unknown word (progid)
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/planning/behavior_velocity_planner/docs/run_out/calculate_expected_target_velocity.svg:28:668 - Unknown word (dropshadow)
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/planning/behavior_velocity_planner/docs/run_out/calculate_expected_target_velocity.svg:32:297 - Unknown word (MSIE)
9/13 ./planning/behavior_velocity_planner/docs/run_out/exclude_obstacles_by_partition.svg 37.77ms X
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/planning/behavior_velocity_planner/docs/run_out/exclude_obstacles_by_partition.svg:28:634 - Unknown word (progid)
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/planning/behavior_velocity_planner/docs/run_out/exclude_obstacles_by_partition.svg:28:668 - Unknown word (dropshadow)
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/planning/behavior_velocity_planner/docs/run_out/exclude_obstacles_by_partition.svg:32:297 - Unknown word (MSIE)
10/13 ./planning/behavior_velocity_planner/docs/run_out/collision_points.svg 83.73ms X
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/planning/behavior_velocity_planner/docs/run_out/collision_points.svg:28:634 - Unknown word (progid)
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/planning/behavior_velocity_planner/docs/run_out/collision_points.svg:28:668 - Unknown word (dropshadow)
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/planning/behavior_velocity_planner/docs/run_out/collision_points.svg:32:297 - Unknown word (MSIE)
11/13 ./planning/behavior_velocity_planner/docs/run_out/insert_velocity.svg 57.89ms X
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/planning/behavior_velocity_planner/docs/run_out/insert_velocity.svg:28:634 - Unknown word (progid)
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/planning/behavior_velocity_planner/docs/run_out/insert_velocity.svg:28:668 - Unknown word (dropshadow)
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/planning/behavior_velocity_planner/docs/run_out/insert_velocity.svg:32:297 - Unknown word (MSIE)
12/13 ./planning/behavior_velocity_planner/docs/run_out/create_dynamic_obstacle.svg 98.88ms X
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/planning/behavior_velocity_planner/docs/run_out/create_dynamic_obstacle.svg:28:634 - Unknown word (progid)
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/planning/behavior_velocity_planner/docs/run_out/create_dynamic_obstacle.svg:28:668 - Unknown word (dropshadow)
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/planning/behavior_velocity_planner/docs/run_out/create_dynamic_obstacle.svg:32:297 - Unknown word (MSIE)
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/planning/behavior_velocity_planner/docs/run_out/create_dynamic_obstacle.svg:75:44 - Unknown word (darkreader)
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/planning/behavior_velocity_planner/docs/run_out/create_dynamic_obstacle.svg:75:80 - Unknown word (darkreader)
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/planning/behavior_velocity_planner/docs/run_out/create_dynamic_obstacle.svg:79:46 - Unknown word (darkreader)
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/planning/behavior_velocity_planner/docs/run_out/create_dynamic_obstacle.svg:79:82 - Unknown word (darkreader)
/home/kenji/ghq/github.com/autowarefoundation/autoware.universe/planning/behavior_velocity_planner/docs/run_out/create_dynamic_obstacle.svg:83:44 - Unknown word (darkreader)
13/13 ./planning/behavior_velocity_planner/docs/run_out/insert_velocity_to_approach.svg 51.07ms
CSpell: Files checked: 13, Issues found: 32 in 9 files Although most changes are just reserved words, it seems CSpell is working better, and the files are easy to be checked in text. |
Codecov ReportBase: 10.89% // Head: 11.07% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #2172 +/- ##
==========================================
+ Coverage 10.89% 11.07% +0.17%
==========================================
Files 1172 1175 +3
Lines 77666 79716 +2050
Branches 19464 19795 +331
==========================================
+ Hits 8465 8830 +365
- Misses 59894 61224 +1330
- Partials 9307 9662 +355
*This pull request uses carry forward flags. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* ci(pre-commit): format SVG files Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * ci(pre-commit): autofix * apply pre-commit Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Signed-off-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>
Description
Since it is easier to check spelling errors, I'd like to apply Prettier to SVG files.
As this PR changes many packages, I'll merge this using admin rights after getting approvals from some maintainers.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.