From 45e3d3f73e4d9780b9d1ba10506e311cadaef87e Mon Sep 17 00:00:00 2001 From: Sergey Kuznetsov Date: Fri, 24 Jul 2026 13:42:00 +0100 Subject: [PATCH] Run pre-commit --- crates/CMakeLists.txt | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/crates/CMakeLists.txt b/crates/CMakeLists.txt index 8590207230..a30bf16e36 100644 --- a/crates/CMakeLists.txt +++ b/crates/CMakeLists.txt @@ -13,14 +13,15 @@ endif() corrosion_import_crate(MANIFEST_PATH ${CMAKE_CURRENT_SOURCE_DIR}/Cargo.toml) -file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/.clang-tidy" - "# Auto-generated by crates/CMakeLists.txt. Do not edit.\n" - "# Neutralizes clang-tidy for corrosion/cxxbridge-generated C++.\n" - "# One check kept enabled to avoid clang-tidy's \"no checks enabled\" error.\n" - "Checks: '-*,google-readability-todo'\n" - "WarningsAsErrors: ''\n" - "HeaderFilterRegex: ''\n" - "InheritParentConfig: false\n" +file( + WRITE "${CMAKE_CURRENT_BINARY_DIR}/.clang-tidy" + "# Auto-generated by crates/CMakeLists.txt. Do not edit.\n" + "# Neutralizes clang-tidy for corrosion/cxxbridge-generated C++.\n" + "# One check kept enabled to avoid clang-tidy's \"no checks enabled\" error.\n" + "Checks: '-*,google-readability-todo'\n" + "WarningsAsErrors: ''\n" + "HeaderFilterRegex: ''\n" + "InheritParentConfig: false\n" ) # Umbrella target that aggregates all crate-generated code (cxxbridge headers,