Sort the imports of the feature tasks' files
CI / tests (pull_request) Successful in 3m51s

This commit is contained in:
2026-11-23 16:34:17 +01:00
parent cdeb66bf6e
commit add003215d
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -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"
+1 -1
View File
@@ -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"]
+3 -3
View File
@@ -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.