From 04ae1de45b7877daab98d5e1825474460f807c39 Mon Sep 17 00:00:00 2001 From: jainsujan11 <119590122+jainsujan11@users.noreply.github.com> Date: Sun, 7 Dec 2025 16:23:48 +0000 Subject: [PATCH] Auto-update pre-commit hooks --- .pre-commit-config.yaml | 4 ++-- README.md | 2 +- examples/CMakeLists.txt | 5 ++++- examples/transform_view_join_direct_usage.cpp | 5 +---- include/beman/transform_join_view/identity.hpp | 6 +----- tests/beman/transform_join_view/CMakeLists.txt | 5 ++++- .../beman/transform_join_view/transform_view_join.test.cpp | 4 +--- 7 files changed, 14 insertions(+), 17 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 32f726b..1509ca1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,14 +13,14 @@ repos: # This brings in a portable version of clang-format. # See also: https://github.com/ssciwr/clang-format-wheel - repo: https://github.com/pre-commit/mirrors-clang-format - rev: v21.1.6 + rev: v21.1.7 hooks: - id: clang-format types_or: [c++, c] # CMake linting and formatting - repo: https://github.com/BlankSpruce/gersemi - rev: 0.23.2 + rev: 0.24.0 hooks: - id: gersemi name: CMake linting diff --git a/README.md b/README.md index ba931c3..c4b9d2a 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -# beman.transform_join_view: Beman transform_join_view library \ No newline at end of file +# beman.transform_join_view: Beman transform_join_view library diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index d28d9f7..e902277 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -6,7 +6,10 @@ message("Examples to be built: ${ALL_EXAMPLES}") foreach(example ${ALL_EXAMPLES}) add_executable(beman.transform_join_view.examples.${example}) - target_sources(beman.transform_join_view.examples.${example} PRIVATE ${example}.cpp) + target_sources( + beman.transform_join_view.examples.${example} + PRIVATE ${example}.cpp + ) target_link_libraries( beman.transform_join_view.examples.${example} PRIVATE beman::transform_join_view diff --git a/examples/transform_view_join_direct_usage.cpp b/examples/transform_view_join_direct_usage.cpp index 52ebf9e..2b57232 100644 --- a/examples/transform_view_join_direct_usage.cpp +++ b/examples/transform_view_join_direct_usage.cpp @@ -6,7 +6,4 @@ namespace exe = beman::transform_join_view; -int main() { - - return 0; -} +int main() { return 0; } diff --git a/include/beman/transform_join_view/identity.hpp b/include/beman/transform_join_view/identity.hpp index c7add44..4dbe0dc 100644 --- a/include/beman/transform_join_view/identity.hpp +++ b/include/beman/transform_join_view/identity.hpp @@ -3,10 +3,6 @@ #ifndef BEMAN_TRANSFORM_JOIN_VIEW_IDENTITY_HPP #define BEMAN_TRANSFORM_JOIN_VIEW_IDENTITY_HPP - -namespace beman::transform_join_view { - - -} // namespace beman::transform_join_view +namespace beman::transform_join_view {} // namespace beman::transform_join_view #endif // BEMAN_TRANSFORM_JOIN_VIEW_IDENTITY_HPP diff --git a/tests/beman/transform_join_view/CMakeLists.txt b/tests/beman/transform_join_view/CMakeLists.txt index 44c959d..4989460 100644 --- a/tests/beman/transform_join_view/CMakeLists.txt +++ b/tests/beman/transform_join_view/CMakeLists.txt @@ -10,7 +10,10 @@ FetchContent_Declare( FetchContent_MakeAvailable(Catch2) add_executable(beman.transform_join_view.tests) -target_sources(beman.transform_join_view.tests PRIVATE transform_view_join.test.cpp) +target_sources( + beman.transform_join_view.tests + PRIVATE transform_view_join.test.cpp +) target_link_libraries( beman.transform_join_view.tests PRIVATE beman::transform_join_view Catch2::Catch2WithMain diff --git a/tests/beman/transform_join_view/transform_view_join.test.cpp b/tests/beman/transform_join_view/transform_view_join.test.cpp index 24cef81..2c3260b 100644 --- a/tests/beman/transform_join_view/transform_view_join.test.cpp +++ b/tests/beman/transform_join_view/transform_view_join.test.cpp @@ -8,6 +8,4 @@ namespace exe = beman::transform_join_view; -TEST_CASE("placeholder test", "[transform_join_view]") { - REQUIRE(true); -} \ No newline at end of file +TEST_CASE("placeholder test", "[transform_join_view]") { REQUIRE(true); }