diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..44b4e12 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,9 @@ +# Summary + + + +## Checklist + +- [ ] Updated `CHANGELOG.md` under `## Unreleased` (if user-facing) +- [ ] Tests pass locally (`pytest --cov=check_unicode`) +- [ ] Linting passes (`ruff check src/ tests/`) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 35cf52e..23f5647 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,6 +19,6 @@ jobs: python-version: ${{ matrix.python-version }} allow-prereleases: true - run: pip install -e ".[dev]" - - run: pytest --cov=check_unicode + - run: pytest --cov=check_unicode --cov-fail-under=80 - run: ruff check src/ tests/ - run: mypy src/ diff --git a/.markdownlint-cli2.yaml b/.markdownlint-cli2.yaml index 171d543..dec808f 100644 --- a/.markdownlint-cli2.yaml +++ b/.markdownlint-cli2.yaml @@ -1,3 +1,5 @@ config: line-length: tables: false + no-duplicate-heading: + siblings_only: true