From 7873e9724065b2a205e686677b71b7ec244cf0d4 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 8 Nov 2024 13:35:06 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- modules/atom.error/pymodule.cpp | 2 +- modules/atom.extra/pymodule.cpp | 4 ++-- src/addon/debug/dynamic.cpp | 2 +- src/addon/debug/dynamic.hpp | 2 +- src/atom/algorithm/snowflake.hpp | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/atom.error/pymodule.cpp b/modules/atom.error/pymodule.cpp index cc6968ef..59fa1e31 100644 --- a/modules/atom.error/pymodule.cpp +++ b/modules/atom.error/pymodule.cpp @@ -221,4 +221,4 @@ PYBIND11_MODULE(error, m) { py::class_(m, "StackTrace") .def(py::init<>()) .def("toString", &atom::error::StackTrace::toString); -} \ No newline at end of file +} diff --git a/modules/atom.extra/pymodule.cpp b/modules/atom.extra/pymodule.cpp index c90bd172..b6ee8ffc 100644 --- a/modules/atom.extra/pymodule.cpp +++ b/modules/atom.extra/pymodule.cpp @@ -23,7 +23,7 @@ using namespace boost::system; PYBIND11_MODULE(extra, m) { m.doc() = "Python bindings for Atom Extra Module"; - + /* py::class_(m, "ErrorCategory") @@ -190,7 +190,7 @@ PYBIND11_MODULE(extra, m) { "Asynchronously receives a JSON object from the WebSocket server"); */ - + #if __has_include() py::enum_(m, "NumberFormat") .value("GENERAL", atom::extra::boost::NumberFormat::GENERAL) diff --git a/src/addon/debug/dynamic.cpp b/src/addon/debug/dynamic.cpp index b9cec41b..95ec203e 100644 --- a/src/addon/debug/dynamic.cpp +++ b/src/addon/debug/dynamic.cpp @@ -202,4 +202,4 @@ void DynamicLibraryParser::setOutputFilename(const std::string &filename) { void DynamicLibraryParser::parse() { impl_->parse(); } -} // namespace lithium::addon \ No newline at end of file +} // namespace lithium::addon diff --git a/src/addon/debug/dynamic.hpp b/src/addon/debug/dynamic.hpp index 94ba4936..e8cf15ec 100644 --- a/src/addon/debug/dynamic.hpp +++ b/src/addon/debug/dynamic.hpp @@ -21,4 +21,4 @@ class DynamicLibraryParser { } // namespace lithium::addon -#endif // LITHIUM_ADDON_DEBUG_DYNAMIC_HPP \ No newline at end of file +#endif // LITHIUM_ADDON_DEBUG_DYNAMIC_HPP diff --git a/src/atom/algorithm/snowflake.hpp b/src/atom/algorithm/snowflake.hpp index 5ef37a6d..c123734d 100644 --- a/src/atom/algorithm/snowflake.hpp +++ b/src/atom/algorithm/snowflake.hpp @@ -120,4 +120,4 @@ class Snowflake { }; } // namespace atom::algorithm -#endif // ATOM_ALGORITHM_SNOWFLAKE_HPP \ No newline at end of file +#endif // ATOM_ALGORITHM_SNOWFLAKE_HPP