Skip to content

Commit e62784b

Browse files
committed
Exclude files with proprietary copyrights from linting
Signed-off-by: methylDragon <methylDragon@gmail.com>
1 parent c4800f2 commit e62784b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

fuse_models/CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,13 @@ target_link_libraries(${PROJECT_NAME}
8383

8484
if(BUILD_TESTING)
8585
find_package(ament_lint_auto REQUIRED)
86+
87+
# This is because these two files have unsuitable copyrights
88+
set(_linter_excludes
89+
test/test_sensor_proc.cpp
90+
test/test_unicycle_2d.cpp
91+
)
92+
set(AMENT_LINT_AUTO_FILE_EXCLUDE ${_linter_excludes})
8693
ament_lint_auto_find_test_dependencies()
8794
add_subdirectory(test)
8895
add_subdirectory(benchmark)

0 commit comments

Comments
 (0)