Skip to content

Commit

Permalink
apply uncrustify except for EigenLab.hpp
Browse files Browse the repository at this point in the history
Signed-off-by: wep21 <[email protected]>
  • Loading branch information
wep21 committed May 26, 2024
1 parent 1e4a731 commit d576a7b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions grid_map_filters/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ if(BUILD_TESTING)
list(APPEND AMENT_LINT_AUTO_EXCLUDE
ament_cmake_cpplint
ament_cmake_copyright
ament_cmake_uncrustify
)
ament_lint_auto_find_test_dependencies()

Expand All @@ -144,6 +145,17 @@ if(BUILD_TESTING)
ament_cpplint(
FILTERS -legal/copyright -build/include_order
)

# run uncrustify except for EigenLab.hpp
find_package(ament_cmake_uncrustify)
set(
_linter_excludes
include/EigenLab/EigenLab.hpp
)
ament_uncrustify(
EXCLUDE ${_linter_excludes}
LANGUAGE c++
)
endif()
ament_lint_auto_find_test_dependencies()
endif()
Expand Down

0 comments on commit d576a7b

Please sign in to comment.