Skip to content

Commit 829d83a

Browse files
committed
skills: clarify download_skills docstring and ruff format
Address review nit — restructure the download_skills docstring into explicit list/decide/fetch stages. Run ruff format to wrap an over-length line in tests (fixes the test_ruff_format CI check).
1 parent 61f228d commit 829d83a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/test_skills_download.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,9 @@ def test_writes_bundle_into_every_root(self, tmp_path):
291291
def test_path_traversal_is_rejected(self, tmp_path):
292292
roots = skill_dir_roots(str(tmp_path))
293293

294-
write_skill(roots, "triage", {"SKILL.md": b"ok", "../escape.md": b"nope", "/abs.md": b"nope"})
294+
write_skill(
295+
roots, "triage", {"SKILL.md": b"ok", "../escape.md": b"nope", "/abs.md": b"nope"}
296+
)
295297

296298
assert (roots[0] / "triage/SKILL.md").read_bytes() == b"ok"
297299
assert not (tmp_path / "escape.md").exists()

0 commit comments

Comments
 (0)