Metadata-Version: 2.5
Name: zendev-review
Version: 0.4.0
Summary: Commit and pull-request message validation
Project-URL: Documentation, https://docs.zendev.zrr.dev/
Project-URL: Homepage, https://github.com/zendev-lab/zendev
Project-URL: Issues, https://github.com/zendev-lab/zendev/issues
Project-URL: Repository, https://github.com/zendev-lab/zendev
License-Expression: MIT
Requires-Python: >=3.12
Requires-Dist: typer>=0.27
Requires-Dist: zendev-commit
Description-Content-Type: text/markdown

# zendev-review

`zendev-review` owns reusable commit and pull-request message checks. It depends
on `zendev-commit` so title and complete-message checks reuse commit profiles.

```shell
uv add --dev zendev-review
uvx --from zendev-review zendev-message check --help
```

```python
from zendev.body import BodySection, validate_body

valid, headings = validate_body(
    "## Motivation\n\nWhy.\n\n## Solution\n\nHow.\n",
    [BodySection("Motivation"), BodySection("Solution")],
)
assert valid
```

Read the official [Message checks guide](https://docs.zendev.zrr.dev/guides/message-checks/),
[CLI reference](https://docs.zendev.zrr.dev/reference/cli/), and
[GitHub Actions integration](https://docs.zendev.zrr.dev/integrations/github-actions/)
for template rules, checklist behavior, and automation.
