From ce0f30e4c58672831b4aae7a2d28eba8a91264ee Mon Sep 17 00:00:00 2001 From: Saeed Maleki Date: Wed, 2 Aug 2023 05:15:37 +0000 Subject: [PATCH] lint --- python/sm_channel_py.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python/sm_channel_py.cpp b/python/sm_channel_py.cpp index 8917e31b..dad1ebfd 100644 --- a/python/sm_channel_py.cpp +++ b/python/sm_channel_py.cpp @@ -18,7 +18,9 @@ void register_sm_channel(nb::module_& m) { uintptr_t src) { new (smChannel) SmChannel(semaphore, dst, (void*)src); }) .def("__init__", [](SmChannel* smChannel, std::shared_ptr semaphore, RegisteredMemory dst, - uintptr_t src, uintptr_t get_packet_buffer) { new (smChannel) SmChannel(semaphore, dst, (void*)src, (void*) get_packet_buffer); }) + uintptr_t src, uintptr_t get_packet_buffer) { + new (smChannel) SmChannel(semaphore, dst, (void*)src, (void*)get_packet_buffer); + }) .def("device_handle", &SmChannel::deviceHandle); m.def("device_handle", &deviceHandle, nb::arg("smChannel"));