diff --git a/src/freeroute/geometry/tile.py b/src/freeroute/geometry/tile.py index 2448a3b..7e45ee0 100644 --- a/src/freeroute/geometry/tile.py +++ b/src/freeroute/geometry/tile.py @@ -98,9 +98,7 @@ class TileShape: def contains_tile(self, other: TileShape) -> bool: """True if every corner of ``other`` is contained in this shape.""" - return all( - self.contains(other.corner(i)) for i in range(other.border_line_count()) - ) + return all(self.contains(other.corner(i)) for i in range(other.border_line_count())) # --- measures (approximate) --------------------------------------------