Skip to content

Commit d82f633

Browse files
committed
linting
1 parent 6d515db commit d82f633

3 files changed

Lines changed: 11 additions & 15 deletions

File tree

CMakeLists.txt

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,12 @@ find_package(rosidl_default_generators REQUIRED)
2525
rosidl_generate_interfaces(${PROJECT_NAME}
2626
"msg/RslidarPacket.msg"
2727
DEPENDENCIES builtin_interfaces std_msgs
28-
)
28+
)
2929

3030
if(BUILD_TESTING)
3131
find_package(ament_lint_auto REQUIRED)
32-
# the following line skips the linter which checks for copyrights
33-
# uncomment the line when a copyright and license is not present in all source files
34-
#set(ament_cmake_copyright_FOUND TRUE)
35-
# the following line skips cpplint (only works in a git repo)
36-
# uncomment the line when this package is not in a git repo
37-
#set(ament_cmake_cpplint_FOUND TRUE)
32+
# skip copyright and license
33+
set(ament_cmake_copyright_FOUND TRUE)
3834
ament_lint_auto_find_test_dependencies()
3935
endif()
4036

ros1/CMakeLists.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,19 @@ find_package(catkin REQUIRED COMPONENTS
2323
std_msgs
2424
sensor_msgs
2525
message_generation
26-
)
26+
)
2727

2828
add_message_files(FILES
2929
RslidarPacket.msg
30-
)
30+
)
3131

32-
generate_messages(DEPENDENCIES
32+
generate_messages(DEPENDENCIES
3333
std_msgs
3434
sensor_msgs
35-
)
35+
)
3636

37-
catkin_package(CATKIN_DEPENDS
38-
std_msgs
37+
catkin_package(CATKIN_DEPENDS
38+
std_msgs
3939
sensor_msgs
4040
message_runtime
41-
)
41+
)

ros2/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ find_package(rosidl_default_generators REQUIRED)
2525
rosidl_generate_interfaces(${PROJECT_NAME}
2626
"msg/RslidarPacket.msg"
2727
DEPENDENCIES builtin_interfaces std_msgs
28-
)
28+
)
2929

3030
if(BUILD_TESTING)
3131
find_package(ament_lint_auto REQUIRED)

0 commit comments

Comments
 (0)