Skip to content

Fix copilot review feedback on functional tests#189

Merged
deacon-mp merged 1 commit intomasterfrom
fix/copilot-review-feedback
Mar 18, 2026
Merged

Fix copilot review feedback on functional tests#189
deacon-mp merged 1 commit intomasterfrom
fix/copilot-review-feedback

Conversation

@deacon-mp
Copy link
Copy Markdown
Contributor

Summary

  • Remove inaccurate docstring claim about requirements checks
  • Use pytest.importorskip("yaml") instead of bare import yaml
  • Guard abilities directory tests with pytest.skip when directory is missing
  • Remove arbitrary 500-char window limit in regex call scanning
  • Add encoding='utf-8' to all open() calls

Test plan

  • Run pytest tests/test_functional.py to verify tests still pass
  • Verify tests skip gracefully when abilities directory is absent

- Remove docstring claim about requirements checks
- Use pytest.importorskip('yaml') instead of bare import
- Guard abilities directory tests with pytest.skip
- Fix 500-char window limit in regex scanning
- Add encoding='utf-8' to all file open() calls
@deacon-mp deacon-mp merged commit 54e9a29 into master Mar 18, 2026
2 checks passed
@deacon-mp deacon-mp deleted the fix/copilot-review-feedback branch March 18, 2026 03:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant