Skip to content

Commit

Permalink
disable ament_flake8 flake8 via pre-commit
Browse files Browse the repository at this point in the history
- 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 <alex.moriarty@picknik.ai>
  • Loading branch information
moriarty committed Jul 3, 2023
1 parent 199a0d4 commit 3b3f368
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions robotiq_driver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ if(BUILD_TESTING)
# the following skips uncrustify
# ament_uncrustify and ament_clang_format cannot both be satisfied
set(ament_cmake_uncrustify_FOUND TRUE)
# the following skips ament_flake8
# ament_flake8 and black fight over double or single quotes
# flake8 is run via pre-commit with a .flake8 configuration file
set(ament_cmake_flake8_FOUND TRUE)
ament_lint_auto_find_test_dependencies()
endif()

Expand Down

0 comments on commit 3b3f368

Please sign in to comment.