From 07a9433f19cde457f42f190194f33c2bef504707 Mon Sep 17 00:00:00 2001 From: Ryan Malloy Date: Sat, 11 Jul 2026 18:41:32 -0600 Subject: [PATCH] Format contains_tile to a single line --- src/freeroute/geometry/tile.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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) --------------------------------------------