Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tests/unit/test_skill_bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,8 @@ def test_non_ascii_frontmatter_warning(self, tmp_path):
sd = skills_dir / "unicode-skill"
sd.mkdir()
(sd / "SKILL.md").write_text(
"---\nname: unicode-skill\ndescription: Ünïcödé description\n---\n# x\n"
"---\nname: unicode-skill\ndescription: Ünïcödé description\n---\n# x\n",
Copy link

Copilot AI Apr 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test file contains non-ASCII characters directly in the Python string literal ("Unic..." with accented letters). Repo guidelines require source files to remain printable ASCII; please spell these characters using Unicode escape sequences (e.g., \u00dc) so the source stays ASCII while still writing non-ASCII content into SKILL.md via UTF-8.

Copilot generated this review using guidance from repository custom instructions.
encoding="utf-8",
)
result = validate_apm_package(tmp_path)
assert result.is_valid # warnings don't fail validation
Expand Down
Loading