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
4 changes: 3 additions & 1 deletion .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Follow the development, linting, and testing process described in
the 79‑character limit.
- **Testing**: Run tests with
`pytest -v --cov=simplecpreprocessor --cov-config .coveragerc --cov-report=term-missing`
- **Coverage**: Maintain or improve test coverage; never decrease it.
- **Coverage**: Maintain or improve test coverage; never decrease it. This includew branch coverage.
- Failure handling in branches is expected to be handled by creating invalid C code. If it's not possible to cover branch with streaming input and hitting it requires direct manipulation, the branch needs to be marked as no cover.
- Evaluate earlier no cover cases as to whether they should be covered by tests when implementing new functionality.

When generating code, apply these rules before returning the final output.