Skip to content

Commit d576a7b

Browse files
committed
apply uncrustify except for EigenLab.hpp
Signed-off-by: wep21 <[email protected]>
1 parent 1e4a731 commit d576a7b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

grid_map_filters/CMakeLists.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ if(BUILD_TESTING)
136136
list(APPEND AMENT_LINT_AUTO_EXCLUDE
137137
ament_cmake_cpplint
138138
ament_cmake_copyright
139+
ament_cmake_uncrustify
139140
)
140141
ament_lint_auto_find_test_dependencies()
141142

@@ -144,6 +145,17 @@ if(BUILD_TESTING)
144145
ament_cpplint(
145146
FILTERS -legal/copyright -build/include_order
146147
)
148+
149+
# run uncrustify except for EigenLab.hpp
150+
find_package(ament_cmake_uncrustify)
151+
set(
152+
_linter_excludes
153+
include/EigenLab/EigenLab.hpp
154+
)
155+
ament_uncrustify(
156+
EXCLUDE ${_linter_excludes}
157+
LANGUAGE c++
158+
)
147159
endif()
148160
ament_lint_auto_find_test_dependencies()
149161
endif()

0 commit comments

Comments
 (0)