Inspection: apply clang format

This commit is contained in:
wmayer
2023-09-01 23:28:16 +02:00
committed by wwmayer
parent c1de0c6b69
commit 28e113bc17
17 changed files with 735 additions and 575 deletions

View File

@@ -28,13 +28,15 @@
#include "InspectionFeature.h"
namespace Inspection {
class Module : public Py::ExtensionModule<Module>
namespace Inspection
{
class Module: public Py::ExtensionModule<Module>
{
public:
Module() : Py::ExtensionModule<Module>("Inspection")
Module()
: Py::ExtensionModule<Module>("Inspection")
{
initialize("This module is the Inspection module."); // register with Python
initialize("This module is the Inspection module.");// register with Python
}
private:
@@ -45,7 +47,7 @@ PyObject* initModule()
return Base::Interpreter().addModule(new Module);
}
} // namespace Inspection
}// namespace Inspection
/* Python entry */
@@ -56,9 +58,10 @@ PyMOD_INIT_FUNC(Inspection)
//
PyObject* mod = Inspection::initModule();
Base::Console().Log("Loading Inspection module... done\n");
// clang-format off
Inspection::PropertyDistanceList ::init();
Inspection::Feature ::init();
Inspection::Group ::init();
// clang-format on
PyMOD_Return(mod);
}