From 3f9f31724386d2b46c381acd01437eef7a349b24 Mon Sep 17 00:00:00 2001 From: Tom Moore Date: Fri, 8 Mar 2024 16:32:28 +0000 Subject: [PATCH] Fixing EXCLUDE consistency --- ament_cmake_cpplint/cmake/ament_cpplint.cmake | 2 +- ament_cmake_flake8/cmake/ament_flake8.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ament_cmake_cpplint/cmake/ament_cpplint.cmake b/ament_cmake_cpplint/cmake/ament_cpplint.cmake index 0409b91f..6b70f604 100644 --- a/ament_cmake_cpplint/cmake/ament_cpplint.cmake +++ b/ament_cmake_cpplint/cmake/ament_cpplint.cmake @@ -34,7 +34,7 @@ # @public # function(ament_cpplint) - cmake_parse_arguments(ARG "" "EXCLUDE;MAX_LINE_LENGTH;ROOT;TESTNAME;TIMEOUT" "FILTERS" ${ARGN}) + cmake_parse_arguments(ARG "" "MAX_LINE_LENGTH;ROOT;TESTNAME;TIMEOUT" "FILTERS;EXCLUDE" ${ARGN}) if(NOT ARG_TESTNAME) set(ARG_TESTNAME "cpplint") endif() diff --git a/ament_cmake_flake8/cmake/ament_flake8.cmake b/ament_cmake_flake8/cmake/ament_flake8.cmake index 9dd986c5..b1e82392 100644 --- a/ament_cmake_flake8/cmake/ament_flake8.cmake +++ b/ament_cmake_flake8/cmake/ament_flake8.cmake @@ -39,7 +39,7 @@ # @public # function(ament_flake8) - cmake_parse_arguments(ARG "" "EXCLUDE;MAX_LINE_LENGTH;TESTNAME;CONFIG_FILE" "" ${ARGN}) + cmake_parse_arguments(ARG "" "MAX_LINE_LENGTH;TESTNAME;CONFIG_FILE" "EXCLUDE" ${ARGN}) if(NOT ARG_TESTNAME) set(ARG_TESTNAME "flake8") endif()