<commit_before>
include("functions")

# get_all_cpp_files2(ALL_PROJECT_CPP_FILES)
get_all_cpp_files(ALL_PROJECT_CPP_FILES "${CMAKE_CURRENT_SOURCE_DIR}/external;${CMAKE_CURRENT_BINARY_DIR};${CMAKE_CURRENT_SOURCE_DIR}/tools/firmware-update/33u/lib;${CMAKE_CURRENT_SOURCE_DIR}/src/include/;${CMAKE_CURRENT_SOURCE_DIR}/src/algorithms;")

add_custom_target(clang-format
  COMMAND clang-format -i
  ${ALL_PROJECT_CPP_FILES}
  WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
  COMMENT "Checking source code formatting"
  )<commit_msg>Update clang format file<commit_after>
include("functions")

# get_all_cpp_files2(ALL_PROJECT_CPP_FILES)
get_all_cpp_files(ALL_PROJECT_CPP_FILES "${CMAKE_CURRENT_SOURCE_DIR}/external;${CMAKE_CURRENT_BINARY_DIR};${CMAKE_CURRENT_SOURCE_DIR}/tools/firmware-update/33u/lib;${CMAKE_CURRENT_SOURCE_DIR}/src/lib;")

add_custom_target(clang-format
  COMMAND clang-format -i
  ${ALL_PROJECT_CPP_FILES}
  WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
  COMMENT "Checking source code formatting"
  )
{'fraction_non_alphanumeric': 0.10760118460019744, 'fraction_numerical': 0.005923000987166831, 'mean_word_length': 10.393258426966293, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1426291', 'n_tokens_mistral': 400, 'n_tokens_neox': 371, 'n_words': 37}