From 1a3c2a788b8c611783a9f74a1e470958d073be07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Kn=C3=B6rle?= <133668094+KnoerleMaTLS@users.noreply.github.com> Date: Tue, 18 Jul 2023 09:12:53 +0200 Subject: [PATCH] style: add missing new line at end of file (#734) --- arduino/Embedded_Template_Library.h | 2 +- examples/platformio/src/main.cpp | 2 +- include/etl/atomic/atomic_clang_sync.h | 2 +- include/etl/byte.h | 2 +- include/etl/experimental/mem_cast.h | 2 +- include/etl/generators/generate.bat | 2 +- include/etl/multi_range.h | 2 +- scripts/generator_test.bat | 2 +- scripts/update_release.bat | 2 +- test/CMakeLists.txt | 1 - test/UnitTest++/RequiredCheckTestReporter.cpp | 2 +- test/UnitTest++/UnitTest++.h | 2 +- test/main.cpp | 2 +- test/test_delegate_service.cpp | 2 +- test/test_delegate_service_cpp03.cpp | 2 +- test/test_enum_type.cpp | 2 +- test/test_unaligned_type_constexpr.cpp | 2 +- test/test_user_type.cpp | 2 +- test/unit_test_framework.h | 2 +- 19 files changed, 18 insertions(+), 19 deletions(-) diff --git a/arduino/Embedded_Template_Library.h b/arduino/Embedded_Template_Library.h index b7ac4789..5959207e 100644 --- a/arduino/Embedded_Template_Library.h +++ b/arduino/Embedded_Template_Library.h @@ -77,4 +77,4 @@ #endif #endif -#endif \ No newline at end of file +#endif diff --git a/examples/platformio/src/main.cpp b/examples/platformio/src/main.cpp index ce97ba7c..66295c17 100644 --- a/examples/platformio/src/main.cpp +++ b/examples/platformio/src/main.cpp @@ -139,4 +139,4 @@ int main() mouse_driver.Wheel_Event_Up(); return 0; -} \ No newline at end of file +} diff --git a/include/etl/atomic/atomic_clang_sync.h b/include/etl/atomic/atomic_clang_sync.h index 3e57425b..23e9360c 100644 --- a/include/etl/atomic/atomic_clang_sync.h +++ b/include/etl/atomic/atomic_clang_sync.h @@ -31,4 +31,4 @@ SOFTWARE. #include "atomic_gcc_sync.h" -#endif \ No newline at end of file +#endif diff --git a/include/etl/byte.h b/include/etl/byte.h index 0a5ca553..bfd39e53 100644 --- a/include/etl/byte.h +++ b/include/etl/byte.h @@ -320,4 +320,4 @@ namespace etl } -#endif \ No newline at end of file +#endif diff --git a/include/etl/experimental/mem_cast.h b/include/etl/experimental/mem_cast.h index d5840321..67d1e019 100644 --- a/include/etl/experimental/mem_cast.h +++ b/include/etl/experimental/mem_cast.h @@ -75,4 +75,4 @@ public: private: char* pbuffer; -}; \ No newline at end of file +}; diff --git a/include/etl/generators/generate.bat b/include/etl/generators/generate.bat index 2f3f7948..b5eed699 100644 --- a/include/etl/generators/generate.bat +++ b/include/etl/generators/generate.bat @@ -6,4 +6,4 @@ python -m cogapp -d -e -o../type_traits.h -DIsOneOf=16 type_traits_generator.h python -m cogapp -d -e -o../type_lookup.h -DNTypes=16 type_lookup_generator.h python -m cogapp -d -e -o../type_select.h -DNTypes=16 type_select_generator.h python -m cogapp -d -e -o../message_packet.h -DHandlers=16 message_packet_generator.h -python -m cogapp -d -e -o../variant_pool.h -DNTypes=16 variant_pool_generator.h \ No newline at end of file +python -m cogapp -d -e -o../variant_pool.h -DNTypes=16 variant_pool_generator.h diff --git a/include/etl/multi_range.h b/include/etl/multi_range.h index 862372e4..44c02110 100644 --- a/include/etl/multi_range.h +++ b/include/etl/multi_range.h @@ -526,4 +526,4 @@ namespace etl }; } -#endif \ No newline at end of file +#endif diff --git a/scripts/generator_test.bat b/scripts/generator_test.bat index 467773c6..28b50c23 100644 --- a/scripts/generator_test.bat +++ b/scripts/generator_test.bat @@ -1 +1 @@ -python .\generator_test.py \ No newline at end of file +python .\generator_test.py diff --git a/scripts/update_release.bat b/scripts/update_release.bat index b2c8faa9..26baad0a 100644 --- a/scripts/update_release.bat +++ b/scripts/update_release.bat @@ -1 +1 @@ -python .\update_release.py \ No newline at end of file +python .\update_release.py diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 84988e2b..b73a50e2 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -387,4 +387,3 @@ add_test(etl_unit_tests etl_tests) # as they appear from UnitTest++ add_custom_target(test_verbose COMMAND ${CMAKE_CTEST_COMMAND} --verbose) - \ No newline at end of file diff --git a/test/UnitTest++/RequiredCheckTestReporter.cpp b/test/UnitTest++/RequiredCheckTestReporter.cpp index 7c21d201..3bf41e0c 100644 --- a/test/UnitTest++/RequiredCheckTestReporter.cpp +++ b/test/UnitTest++/RequiredCheckTestReporter.cpp @@ -23,4 +23,4 @@ namespace UnitTest { { return m_continue++ == 0; } -} \ No newline at end of file +} diff --git a/test/UnitTest++/UnitTest++.h b/test/UnitTest++/UnitTest++.h index 1a9fe86a..931cf146 100644 --- a/test/UnitTest++/UnitTest++.h +++ b/test/UnitTest++/UnitTest++.h @@ -1 +1 @@ -#include "UnitTestPP.h" \ No newline at end of file +#include "UnitTestPP.h" diff --git a/test/main.cpp b/test/main.cpp index 5323c462..fd6aaf87 100644 --- a/test/main.cpp +++ b/test/main.cpp @@ -30,4 +30,4 @@ SOFTWARE. int main() { return UnitTest::RunAllTests(); -} \ No newline at end of file +} diff --git a/test/test_delegate_service.cpp b/test/test_delegate_service.cpp index b68b1fa6..27071ac8 100644 --- a/test/test_delegate_service.cpp +++ b/test/test_delegate_service.cpp @@ -334,4 +334,4 @@ namespace }; } -#endif \ No newline at end of file +#endif diff --git a/test/test_delegate_service_cpp03.cpp b/test/test_delegate_service_cpp03.cpp index 9b115e7a..f8d79b85 100644 --- a/test/test_delegate_service_cpp03.cpp +++ b/test/test_delegate_service_cpp03.cpp @@ -334,4 +334,4 @@ namespace }; } -#endif \ No newline at end of file +#endif diff --git a/test/test_enum_type.cpp b/test/test_enum_type.cpp index 21e52d4f..f51f4ead 100644 --- a/test/test_enum_type.cpp +++ b/test/test_enum_type.cpp @@ -151,4 +151,4 @@ namespace CHECK_EQUAL(expected, actual.get_enum()); } }; -} \ No newline at end of file +} diff --git a/test/test_unaligned_type_constexpr.cpp b/test/test_unaligned_type_constexpr.cpp index 10164f60..13cb2234 100644 --- a/test/test_unaligned_type_constexpr.cpp +++ b/test/test_unaligned_type_constexpr.cpp @@ -641,4 +641,4 @@ namespace }; } -#endif \ No newline at end of file +#endif diff --git a/test/test_user_type.cpp b/test/test_user_type.cpp index 0cacc568..50523ad4 100644 --- a/test/test_user_type.cpp +++ b/test/test_user_type.cpp @@ -221,4 +221,4 @@ namespace CHECK_EQUAL(expected, value); } }; -} \ No newline at end of file +} diff --git a/test/unit_test_framework.h b/test/unit_test_framework.h index 55137874..798a6eae 100644 --- a/test/unit_test_framework.h +++ b/test/unit_test_framework.h @@ -31,4 +31,4 @@ SOFTWARE. #include "UnitTest++/UnitTest++.h" -#endif \ No newline at end of file +#endif