Sort the scheduler's imports and type the statuses list
CI / tests (pull_request) Successful in 3m22s

This commit is contained in:
Lilleman
2026-11-19 21:45:44 +01:00
parent 111cb9248e
commit 6d7c8b5c25
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -132,4 +132,6 @@ def load(home: pathlib.Path, ladder_file: pathlib.Path = SHIPPED) -> DoEpicConfi
assert clone_folder and env_file and isinstance(url, str) and isinstance(model, str) and isinstance(language, str) and isinstance(rule, str)
labels = values.get(LABEL_REPOS, {})
assert isinstance(labels, dict)
return DoEpicConfig(folder, url, env_file, clone_folder, language, model, rule, finish_of(values), types.MappingProxyType(labels), tuple(values.get(UNBLOCKING_STATUSES, ())), values.get(AUTOMATION_MOVES) is True)
statuses = values.get(UNBLOCKING_STATUSES, [])
assert isinstance(statuses, list)
return DoEpicConfig(folder, url, env_file, clone_folder, language, model, rule, finish_of(values), types.MappingProxyType(labels), tuple(statuses), values.get(AUTOMATION_MOVES) is True)
+1 -1
View File
@@ -10,8 +10,8 @@ from chunk_driver.claims import CHUNK_FLAG, epic_chunks, HANDED, loop_chunks, pr
from do_epic.backend.protocol import EpicIssue
from failure import Failure
from do_epic.split import finished, is_split, SPLIT_LABEL
from text_files.markdown_text import listed
from do_epic.repo_pick import HumanTask, LabelRepos, Pick, recorded, Repo
from text_files.markdown_text import listed
from project_config.settings import PARALLEL_CHUNKS
from do_epic.parked import parked_chunks
from chunk_pr.approval import PARKS