Inspection: apply clang format
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user