style: format to length 100

This commit is contained in:
2026-07-02 12:52:45 +02:00
parent 40b12c12db
commit dc6218e45f
23 changed files with 124 additions and 362 deletions
+2 -6
View File
@@ -12,17 +12,13 @@ class Coordinate(BaseModel):
# Overload +
def __add__(self, other: "Coordinate") -> "Coordinate":
if isinstance(other, Coordinate):
return Coordinate(
x=self.x + other.x, y=self.y + other.y, z=self.z + other.z
)
return Coordinate(x=self.x + other.x, y=self.y + other.y, z=self.z + other.z)
return NotImplemented
# Overload -
def __sub__(self, other: "Coordinate") -> "Coordinate":
if isinstance(other, Coordinate):
return Coordinate(
x=self.x - other.x, y=self.y - other.y, z=self.z - other.z
)
return Coordinate(x=self.x - other.x, y=self.y - other.y, z=self.z - other.z)
return NotImplemented
# Overload *