From e785ce8f6be474002a34b28da86fefc8fff06d77 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Fri, 27 Nov 2026 15:16:10 +0100 Subject: [PATCH] Sort the new imports by first binding --- bin/chunk_preflight/facts.py | 2 +- bin/chunk_preflight/main.py | 2 +- bin/chunk_preflight/test_chunk_preflight.py | 2 +- bin/chunk_preflight/test_indentation.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/chunk_preflight/facts.py b/bin/chunk_preflight/facts.py index d7121a4e..38541271 100644 --- a/bin/chunk_preflight/facts.py +++ b/bin/chunk_preflight/facts.py @@ -5,10 +5,10 @@ from release_plan.next_chunk import cut_name, NextChunk, NoItem from release_plan.release_standing import dated_cut, LastCut, unreleased_entries, UNSEEN_RELEASES from failure import Failure from forge.commands import Forge -from chunk_preflight.indentation import SpaceIndented from chunk_preflight.gathered import Gathered, ItemFacts, NamedPath, Ran from text_files.markdown_text import listed, quoted from chunk_preflight.choices import PULLS_LIST +from chunk_preflight.indentation import SpaceIndented from plan.release import version diff --git a/bin/chunk_preflight/main.py b/bin/chunk_preflight/main.py index 30bc9ce5..a58f166a 100644 --- a/bin/chunk_preflight/main.py +++ b/bin/chunk_preflight/main.py @@ -98,7 +98,6 @@ from git_cli import epic_branch from failure import Failure from forge.commands import Forge, forge_of, Run, runner from chunk_preflight.gathered import Gathered, ItemFacts, LeftWorktree, NamedPath, Ran, Worktree -from chunk_preflight.indentation import space_indented from chunk_preflight.facts import JOINING_DETAILS, render from project_config.main import located from forge.pulls import merged_pull @@ -107,6 +106,7 @@ from release_plan.next_chunk import NextChunk, NoItem, plan_name, planned from release_plan.release_standing import project_plan from project_config.settings import ProjectConfig from chunk_preflight.choices import pulls_command, worktree_add, worktree_on, worktrees +from chunk_preflight.indentation import space_indented from project_config import templates BIN = pathlib.Path(__file__).resolve().parents[1] diff --git a/bin/chunk_preflight/test_chunk_preflight.py b/bin/chunk_preflight/test_chunk_preflight.py index 01ec521f..f23f23ac 100644 --- a/bin/chunk_preflight/test_chunk_preflight.py +++ b/bin/chunk_preflight/test_chunk_preflight.py @@ -22,8 +22,8 @@ from release_plan.release_standing import LastCut, UNSEEN_RELEASES from release_plan.awaiting_merge import marked from release_plan import next_chunk from chunk_preflight.facts import open_pulls, render -from chunk_preflight.indentation import SpaceIndented from plan_store.todo_md import plan_of +from chunk_preflight.indentation import SpaceIndented from chunk_preflight.choices import worktree_add, worktree_on, worktrees from project_config.doubles import write_config diff --git a/bin/chunk_preflight/test_indentation.py b/bin/chunk_preflight/test_indentation.py index 018db070..f2c5bba2 100644 --- a/bin/chunk_preflight/test_indentation.py +++ b/bin/chunk_preflight/test_indentation.py @@ -7,9 +7,9 @@ import unittest sys.path.insert(0, str(pathlib.Path(__file__).resolve().parents[1])) -from chunk_preflight.indentation import space_indented, SpaceIndented from failure import Failure from test_env import isolated_env +from chunk_preflight.indentation import space_indented, SpaceIndented TABBED = "def run():\n\tif True:\n\t\treturn 1\n" SPACED = "def run():\n if True:\n return 1\n"