From b358c6eb052ac730881a2ae6562a2ea7e7a7c5ef Mon Sep 17 00:00:00 2001 From: ivikhrev Date: Mon, 4 Apr 2022 12:08:53 +0300 Subject: [PATCH] add cpplint to bandit exclusions; add new lines at the end of files --- .bandit | 3 +++ demos/.clang-format | 2 +- demos/gaze_estimation_demo/cpp/CMakeLists.txt | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.bandit b/.bandit index 99fa7b4c909..86bcd569c2a 100644 --- a/.bandit +++ b/.bandit @@ -7,6 +7,9 @@ ### in both 'tests' and 'skips', this would be nonsensical and is detected by ### Bandit at runtime. +exclude_dirs: + - ./cmake/cpplint/cpplint.py + # Available tests: # B101 : assert_used # B102 : exec_used diff --git a/demos/.clang-format b/demos/.clang-format index 49a438079b1..2638054347e 100644 --- a/demos/.clang-format +++ b/demos/.clang-format @@ -59,4 +59,4 @@ IndentPPDirectives: AfterHash SortIncludes: true ForEachMacros: - foreach - - FOREACH_CHILD \ No newline at end of file + - FOREACH_CHILD diff --git a/demos/gaze_estimation_demo/cpp/CMakeLists.txt b/demos/gaze_estimation_demo/cpp/CMakeLists.txt index 2c5b2c837e3..32d00dfb492 100644 --- a/demos/gaze_estimation_demo/cpp/CMakeLists.txt +++ b/demos/gaze_estimation_demo/cpp/CMakeLists.txt @@ -9,4 +9,4 @@ add_demo(NAME gaze_estimation_demo SOURCES ${SOURCES} HEADERS ${HEADERS} INCLUDE_DIRECTORIES "${CMAKE_CURRENT_SOURCE_DIR}/include" - DEPENDENCIES monitors) \ No newline at end of file + DEPENDENCIES monitors)