From fc68878e3e3f4ceb4f7b9c367d239297ba523dc5 Mon Sep 17 00:00:00 2001 From: Morteza Hosseini Date: Mon, 10 Nov 2025 11:30:04 +0000 Subject: [PATCH 1/3] feat: add pull request description template --- ...t-pull-request-description-instructions.md | 124 ++++++++++++++++++ 1 file changed, 124 insertions(+) create mode 100644 .copilot-pull-request-description-instructions.md diff --git a/.copilot-pull-request-description-instructions.md b/.copilot-pull-request-description-instructions.md new file mode 100644 index 0000000..33b92d2 --- /dev/null +++ b/.copilot-pull-request-description-instructions.md @@ -0,0 +1,124 @@ +## Description + + + +## Type of Change + + + +- [ ] Bug fix (non-breaking change that fixes an issue) +- [ ] New feature (non-breaking change that adds functionality) +- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) +- [ ] Documentation update +- [ ] Refactoring (no functional changes) +- [ ] Performance improvement +- [ ] Test coverage improvement + +## Related Issues + + + +Closes # + +## Changes Made + + + +- +- +- + +## SPEC Compliance + + + +- [ ] This PR implements/fixes spec compliance +- [ ] Spec section(s) affected: +- [ ] Spec version: + +## Testing + + + +- [ ] All existing tests pass +- [ ] Added new tests for changes +- [ ] Tested on Python 3.8 +- [ ] Tested on Python 3.9 +- [ ] Tested on Python 3.10 +- [ ] Tested on Python 3.11 +- [ ] Tested on Python 3.12 + +### Test Output + +```bash +# Paste test output here +``` + +## Code Quality + + + +- [ ] Ran `ruff check src/toon_format tests` - no issues +- [ ] Ran `ruff format src/toon_format tests` - code formatted +- [ ] Ran `mypy src/toon_format` - no critical errors +- [ ] All tests pass: `pytest tests/ -v` + +## Checklist + + + +- [ ] My code follows the project's coding standards (PEP 8, line length 100) +- [ ] I have added type hints to new code +- [ ] I have added tests that prove my fix/feature works +- [ ] New and existing tests pass locally +- [ ] I have updated documentation (README.md, CLAUDE.md if needed) +- [ ] My changes do not introduce new dependencies +- [ ] I have maintained Python 3.8+ compatibility +- [ ] I have reviewed the [TOON specification](https://github.com/toon-format/spec) for relevant sections + +## Performance Impact + + + +- [ ] No performance impact +- [ ] Performance improvement (describe below) +- [ ] Potential performance regression (describe and justify below) + + + +## Breaking Changes + + + +- [ ] No breaking changes +- [ ] Breaking changes (describe migration path below) + + + +## Screenshots / Examples + + + +```python +# Example usage +``` + +Output: +``` +# Example output +``` + +## Additional Context + + + +## Checklist for Reviewers + + + +- [ ] Code changes are clear and well-documented +- [ ] Tests adequately cover the changes +- [ ] Documentation is updated +- [ ] No security concerns +- [ ] Follows TOON specification +- [ ] Backward compatible (or breaking changes are justified and documented) From 1260099cf4c43750efa2168b254b9cf002d01b5f Mon Sep 17 00:00:00 2001 From: Morteza Hosseini Date: Mon, 16 Mar 2026 11:19:45 +0000 Subject: [PATCH 2/3] chore: add cache-dependency-glob for uv setup in lint and test workflows --- .github/workflows/lint.yml | 1 + .github/workflows/test.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4a73fd2..b5f70df 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -18,6 +18,7 @@ jobs: uses: astral-sh/setup-uv@v7 with: enable-cache: true + cache-dependency-glob: pyproject.toml - name: Set up Python uses: actions/setup-python@v6 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c5405af..6596726 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,6 +21,7 @@ jobs: uses: astral-sh/setup-uv@v7 with: enable-cache: true + cache-dependency-glob: pyproject.toml - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v6 From 8e85508a1596875e209dab2bd5ab911c71ef680f Mon Sep 17 00:00:00 2001 From: Morteza Hosseini <19313488+smortezah@users.noreply.github.com> Date: Mon, 16 Mar 2026 11:22:37 +0000 Subject: [PATCH 3/3] Delete .copilot-pull-request-description-instructions.md --- ...t-pull-request-description-instructions.md | 124 ------------------ 1 file changed, 124 deletions(-) delete mode 100644 .copilot-pull-request-description-instructions.md diff --git a/.copilot-pull-request-description-instructions.md b/.copilot-pull-request-description-instructions.md deleted file mode 100644 index 33b92d2..0000000 --- a/.copilot-pull-request-description-instructions.md +++ /dev/null @@ -1,124 +0,0 @@ -## Description - - - -## Type of Change - - - -- [ ] Bug fix (non-breaking change that fixes an issue) -- [ ] New feature (non-breaking change that adds functionality) -- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) -- [ ] Documentation update -- [ ] Refactoring (no functional changes) -- [ ] Performance improvement -- [ ] Test coverage improvement - -## Related Issues - - - -Closes # - -## Changes Made - - - -- -- -- - -## SPEC Compliance - - - -- [ ] This PR implements/fixes spec compliance -- [ ] Spec section(s) affected: -- [ ] Spec version: - -## Testing - - - -- [ ] All existing tests pass -- [ ] Added new tests for changes -- [ ] Tested on Python 3.8 -- [ ] Tested on Python 3.9 -- [ ] Tested on Python 3.10 -- [ ] Tested on Python 3.11 -- [ ] Tested on Python 3.12 - -### Test Output - -```bash -# Paste test output here -``` - -## Code Quality - - - -- [ ] Ran `ruff check src/toon_format tests` - no issues -- [ ] Ran `ruff format src/toon_format tests` - code formatted -- [ ] Ran `mypy src/toon_format` - no critical errors -- [ ] All tests pass: `pytest tests/ -v` - -## Checklist - - - -- [ ] My code follows the project's coding standards (PEP 8, line length 100) -- [ ] I have added type hints to new code -- [ ] I have added tests that prove my fix/feature works -- [ ] New and existing tests pass locally -- [ ] I have updated documentation (README.md, CLAUDE.md if needed) -- [ ] My changes do not introduce new dependencies -- [ ] I have maintained Python 3.8+ compatibility -- [ ] I have reviewed the [TOON specification](https://github.com/toon-format/spec) for relevant sections - -## Performance Impact - - - -- [ ] No performance impact -- [ ] Performance improvement (describe below) -- [ ] Potential performance regression (describe and justify below) - - - -## Breaking Changes - - - -- [ ] No breaking changes -- [ ] Breaking changes (describe migration path below) - - - -## Screenshots / Examples - - - -```python -# Example usage -``` - -Output: -``` -# Example output -``` - -## Additional Context - - - -## Checklist for Reviewers - - - -- [ ] Code changes are clear and well-documented -- [ ] Tests adequately cover the changes -- [ ] Documentation is updated -- [ ] No security concerns -- [ ] Follows TOON specification -- [ ] Backward compatible (or breaking changes are justified and documented)