Skip to content

Commit 3b3f368

Browse files
committed
disable ament_flake8 flake8 via pre-commit
- disable ament_flake8, flake8 via pre-commit reads .flake8 config - ament_flake8 in ros-tooling didn't read .flake8 - flake8 and black will conflit over single vs double quotes Signed-off-by: Alex Moriarty <[email protected]>
1 parent 199a0d4 commit 3b3f368

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

robotiq_driver/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ if(BUILD_TESTING)
8686
# the following skips uncrustify
8787
# ament_uncrustify and ament_clang_format cannot both be satisfied
8888
set(ament_cmake_uncrustify_FOUND TRUE)
89+
# the following skips ament_flake8
90+
# ament_flake8 and black fight over double or single quotes
91+
# flake8 is run via pre-commit with a .flake8 configuration file
92+
set(ament_cmake_flake8_FOUND TRUE)
8993
ament_lint_auto_find_test_dependencies()
9094
endif()
9195

0 commit comments

Comments
 (0)