From add003215dc566b261f3c094aae105b19c552de1 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Mon, 23 Nov 2026 16:34:17 +0100 Subject: [PATCH] Sort the imports of the feature tasks' files --- bin/task_bench/feature_tasks.py | 4 ++-- bin/task_bench/tasks.py | 2 +- bin/task_bench/test_feature_tasks.py | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/task_bench/feature_tasks.py b/bin/task_bench/feature_tasks.py index 110a409e..8e1496ed 100644 --- a/bin/task_bench/feature_tasks.py +++ b/bin/task_bench/feature_tasks.py @@ -5,12 +5,12 @@ import pathlib import shutil import typing +from task_bench.tasks import Bench, committed, on_disk, Planned, Task, tests_in_copy, with_acceptance +from project_config.settings import BENCH_TASKS, CONFIG from failure import Failure from project_config.main import located -from project_config.settings import BENCH_TASKS, CONFIG from task_bench.figures import Side, SIDES from task_bench.runs import TimedOut -from task_bench.tasks import Bench, committed, on_disk, Planned, Task, tests_in_copy, with_acceptance SPEC = "spec.md" PATCH = "reference.patch" diff --git a/bin/task_bench/tasks.py b/bin/task_bench/tasks.py index 15144fc3..6781ed02 100644 --- a/bin/task_bench/tasks.py +++ b/bin/task_bench/tasks.py @@ -5,11 +5,11 @@ import pathlib import shutil import typing +from task_bench.runs import Containers, ran_tests from failure import Failure from git_cli.git_repo import Git from mutate_changes.tool_process import Ran from task_bench.figures import Side -from task_bench.runs import Containers, ran_tests # The one commit of a task's tree doesn't name anyone, and neither a hook nor a signing key of the caller's reaches it. COMMIT = ["-c", "user.name=task-bench", "-c", "user.email=task-bench@localhost", "-c", "commit.gpgsign=false", "-c", "core.hooksPath=/dev/null", "commit", "--quiet", "--message", "Import"] diff --git a/bin/task_bench/test_feature_tasks.py b/bin/task_bench/test_feature_tasks.py index a798d391..874a6194 100644 --- a/bin/task_bench/test_feature_tasks.py +++ b/bin/task_bench/test_feature_tasks.py @@ -14,11 +14,11 @@ import unittest sys.path.insert(0, str(pathlib.Path(__file__).resolve().parents[1])) -from failure import Failure -from task_bench import main -from task_bench.feature_tasks import features from task_bench.test_task_bench import BASE_CODE, DOCKER, HEAD_CODE, TESTS +from failure import Failure +from task_bench.feature_tasks import features from test_env import isolated_env +from task_bench import main CONFIG = "".join(f'{name} = "checkout:{name}.md"\n' for name in ("plan", "working-rules", "decisions", "score-anchors", "comprehension-history", "reading-cost", "changelog", "goals-and-audience", "principles", "standards")) # Stands in for `go test ./...`: each test of the tree, a shell text in a file named as a Go test.