Make chunk-preflight report space-indented code with no setting that says so, and narrow the tabs principle's override
CI / tests (pull_request) Has been cancelled

This commit is contained in:
2026-11-27 15:08:14 +01:00
parent 411819c38d
commit 83298bed3d
7 changed files with 181 additions and 3 deletions
+3
View File
@@ -6,6 +6,7 @@ from failure import Failure
from forge.commands import Forge
from release_plan.release_standing import LastCut
from release_plan.next_chunk import NextChunk, NoItem
from chunk_preflight.indentation import SpaceIndented
@dataclasses.dataclass(frozen=True)
@@ -75,3 +76,5 @@ class Gathered:
merges_unread: Failure | None = None
# The worktrees `chunk-pr clean` is still to remove.
left: tuple[LeftWorktree, ...] = ()
# The line counts of the project's code where it is space-indented with no setting that says so, or why they cannot be read; None where it is not.
indentation: SpaceIndented | Failure | None = None