Pamhyr: Fix pep8.

scenarios
Pierre-Antoine 2025-09-01 10:37:32 +02:00
parent 3585b29b03
commit 6288f039d2
2 changed files with 13 additions and 7 deletions

View File

@ -462,7 +462,10 @@ class ProfileXYZ(Profile, SQLSubModel):
"name": point[3],
}
pt = PointXYZ(id=-1, **named_args, profile=self, status=self._status)
pt = PointXYZ(
id=-1, **named_args, profile=self,
status=self._status
)
self._points.append(pt)
self.modified()
@ -524,7 +527,10 @@ class ProfileXYZ(Profile, SQLSubModel):
Returns:
Nothing.
"""
point_xyz = PointXYZ(x=0., y=0., z=0., profile=self, status=self._status)
point_xyz = PointXYZ(
x=0., y=0., z=0., profile=self,
status=self._status
)
self.points.append(point_xyz)
self.modified()