All: Reformat according to new standard

This commit is contained in:
pre-commit-ci[bot]
2025-11-11 13:49:01 +01:00
committed by Kacper Donat
parent ef997f2259
commit 9fe130cd73
2390 changed files with 154630 additions and 115818 deletions

View File

@@ -47,10 +47,12 @@ public:
Module()
: Py::ExtensionModule<Module>("Robot")
{
add_varargs_method("simulateToFile",
&Module::simulateToFile,
"simulateToFile(Robot,Trajectory,TickSize,FileName) - runs the "
"simulation and write the result to a file.");
add_varargs_method(
"simulateToFile",
&Module::simulateToFile,
"simulateToFile(Robot,Trajectory,TickSize,FileName) - runs the "
"simulation and write the result to a file."
);
initialize("This module is the Robot module."); // register with Python
}
@@ -62,14 +64,16 @@ private:
float tick;
char* FileName;
if (!PyArg_ParseTuple(args.ptr(),
"O!O!fs",
&(Robot6AxisPy::Type),
&pcRobObj,
&(TrajectoryPy::Type),
&pcTracObj,
&tick,
&FileName)) {
if (!PyArg_ParseTuple(
args.ptr(),
"O!O!fs",
&(Robot6AxisPy::Type),
&pcRobObj,
&(TrajectoryPy::Type),
&pcTracObj,
&tick,
&FileName
)) {
throw Py::Exception();
}