From 15c96adf2e6426c4dc4d5969053466865a0f8426 Mon Sep 17 00:00:00 2001 From: Artur Shiriev Date: Mon, 13 Jul 2026 20:03:04 +0300 Subject: [PATCH 1/2] chore: add pull request template The checklist mirrors the actual CI gates: just lint-ci (ruff, mypy, pyrefly) and just test. No 'ty' - this repo does not use it. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/PULL_REQUEST_TEMPLATE.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 00000000..25d2b6cd --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,9 @@ +## Summary + + + +## Checklist + +- [ ] `just lint-ci` passes (`ruff` format and check, `mypy`, `pyrefly`) +- [ ] `just test` passes and new behavior is covered by tests +- [ ] Docs updated if behavior or the public API changed From 723469be0bd83bc5ca2a3450120e47cf23dec10a Mon Sep 17 00:00:00 2001 From: Artur Shiriev Date: Mon, 13 Jul 2026 20:11:30 +0300 Subject: [PATCH 2/2] chore: mirror org PR template, swap ty for mypy and pyrefly The org template in modern-python/.github is right for the other 25 repos; that-depends is the only one on mypy + pyrefly (see 'just lint-ci'). Keep the org's shape, change only the type-check line. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/PULL_REQUEST_TEMPLATE.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 25d2b6cd..e31bf637 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,9 +1,17 @@ ## Summary - + + +## Changes + + +- ## Checklist -- [ ] `just lint-ci` passes (`ruff` format and check, `mypy`, `pyrefly`) -- [ ] `just test` passes and new behavior is covered by tests -- [ ] Docs updated if behavior or the public API changed +- [ ] Lint and format pass (`ruff`) +- [ ] Type check passes (`mypy` and `pyrefly`) +- [ ] Tests pass and new behavior is covered +- [ ] Build succeeds (`uv build`) if packaging or build config changed +- [ ] Docs updated if behavior or public API changed +- [ ] Repo metadata stays consistent across the three surfaces (GitHub description, pyproject `description`, profile blurb) if this touches packaging