From 0e12e64d08fe99e1fac83f8063c7ad407474338d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 1 Nov 2024 09:20:44 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/atom/system/command.cpp | 2 +- src/atom/system/crash.cpp | 2 +- src/atom/system/env.hpp | 2 +- src/config/configor.cpp | 2 +- src/debug/check.cpp | 2 +- src/debug/history.cpp | 2 +- src/debug/history.hpp | 2 +- src/debug/progress.cpp | 2 +- src/debug/progress.hpp | 2 +- src/debug/suggestion.cpp | 2 +- src/debug/suggestion.hpp | 2 +- src/debug/terminal.cpp | 2 +- src/task/custom/camera/smart_exposure.cpp | 2 +- websrc/image_broadcast.ts | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/atom/system/command.cpp b/src/atom/system/command.cpp index ca29b1e2..26e4546e 100644 --- a/src/atom/system/command.cpp +++ b/src/atom/system/command.cpp @@ -523,4 +523,4 @@ auto startProcess(const std::string &command) -> std::pair { #endif } -} // namespace atom::system \ No newline at end of file +} // namespace atom::system diff --git a/src/atom/system/crash.cpp b/src/atom/system/crash.cpp index c7c9e7f7..889031ee 100644 --- a/src/atom/system/crash.cpp +++ b/src/atom/system/crash.cpp @@ -169,4 +169,4 @@ void saveCrashLog(std::string_view error_msg) { LOG_F(INFO, "saveCrashLog completed"); } -} // namespace atom::system \ No newline at end of file +} // namespace atom::system diff --git a/src/atom/system/env.hpp b/src/atom/system/env.hpp index edbc595e..f92f9386 100644 --- a/src/atom/system/env.hpp +++ b/src/atom/system/env.hpp @@ -135,4 +135,4 @@ class Env { } // namespace atom::utils -#endif \ No newline at end of file +#endif diff --git a/src/config/configor.cpp b/src/config/configor.cpp index 60b4f4a1..3941ba00 100644 --- a/src/config/configor.cpp +++ b/src/config/configor.cpp @@ -323,4 +323,4 @@ void ConfigManager::asyncSaveToFile(const fs::path& file_path, }); } -} // namespace lithium \ No newline at end of file +} // namespace lithium diff --git a/src/debug/check.cpp b/src/debug/check.cpp index bab2fd0c..eff1485f 100644 --- a/src/debug/check.cpp +++ b/src/debug/check.cpp @@ -287,4 +287,4 @@ void printErrors(const std::vector& errors, } } -} // namespace lithium::debug \ No newline at end of file +} // namespace lithium::debug diff --git a/src/debug/history.cpp b/src/debug/history.cpp index 56cc1435..32caabe3 100644 --- a/src/debug/history.cpp +++ b/src/debug/history.cpp @@ -259,4 +259,4 @@ int CommandHistory::getCommandFrequency(const std::string& command) const { return impl_->getCommandFrequency(command); } -} // namespace lithium::debug \ No newline at end of file +} // namespace lithium::debug diff --git a/src/debug/history.hpp b/src/debug/history.hpp index 76fe1fdb..92d34b25 100644 --- a/src/debug/history.hpp +++ b/src/debug/history.hpp @@ -119,4 +119,4 @@ class CommandHistory { } // namespace lithium::debug -#endif // LITHIUM_DEBUG_COMMAND_HISTORY_HPP \ No newline at end of file +#endif // LITHIUM_DEBUG_COMMAND_HISTORY_HPP diff --git a/src/debug/progress.cpp b/src/debug/progress.cpp index 2ec9b042..97064306 100644 --- a/src/debug/progress.cpp +++ b/src/debug/progress.cpp @@ -259,4 +259,4 @@ bool ProgressBar::isRunning() const { return running_.load(); } bool ProgressBar::isPaused() const { return paused_.load(); } -} // namespace lithium::debug \ No newline at end of file +} // namespace lithium::debug diff --git a/src/debug/progress.hpp b/src/debug/progress.hpp index b7975a46..61911cdf 100644 --- a/src/debug/progress.hpp +++ b/src/debug/progress.hpp @@ -180,4 +180,4 @@ class ProgressBar { } // namespace lithium::debug -#endif \ No newline at end of file +#endif diff --git a/src/debug/suggestion.cpp b/src/debug/suggestion.cpp index c7c60900..91daba99 100644 --- a/src/debug/suggestion.cpp +++ b/src/debug/suggestion.cpp @@ -88,4 +88,4 @@ auto SuggestionEngine::calculateScore(const std::string& input, return score; } -} // namespace lithium::debug \ No newline at end of file +} // namespace lithium::debug diff --git a/src/debug/suggestion.hpp b/src/debug/suggestion.hpp index a6b8ae7e..f5d4a9d8 100644 --- a/src/debug/suggestion.hpp +++ b/src/debug/suggestion.hpp @@ -110,4 +110,4 @@ class SuggestionEngine { }; } // namespace lithium::debug -#endif \ No newline at end of file +#endif diff --git a/src/debug/terminal.cpp b/src/debug/terminal.cpp index 2b5553e6..059fd9fd 100644 --- a/src/debug/terminal.cpp +++ b/src/debug/terminal.cpp @@ -433,4 +433,4 @@ char* ConsoleTerminal::ConsoleTerminalImpl::commandGenerator(const char* text, ConsoleTerminal* globalConsoleTerminal = nullptr; -} // namespace lithium::debug \ No newline at end of file +} // namespace lithium::debug diff --git a/src/task/custom/camera/smart_exposure.cpp b/src/task/custom/camera/smart_exposure.cpp index 856a4e9f..fdb6a126 100644 --- a/src/task/custom/camera/smart_exposure.cpp +++ b/src/task/custom/camera/smart_exposure.cpp @@ -128,4 +128,4 @@ auto SmartExposure::adjustExposureTime(double current_time, double quality) -> i return static_cast(current_time); } -} // namespace lithium \ No newline at end of file +} // namespace lithium diff --git a/websrc/image_broadcast.ts b/websrc/image_broadcast.ts index c7dd91cc..0aba8be3 100644 --- a/websrc/image_broadcast.ts +++ b/websrc/image_broadcast.ts @@ -275,4 +275,4 @@ process.on("exit", () => { }); }); -console.log("WebSocket server started on ws://localhost:8600"); \ No newline at end of file +console.log("WebSocket server started on ws://localhost:8600");