mirror of
https://github.com/headroomlabs-ai/headroom.git
synced 2026-08-27 14:17:10 -04:00
`CI / lint (pull_request)` failed because `ruff format --check` detected
formatting drift in the new PR governance script and its tests. This PR
aligns those files with repository formatting rules so the lint job can
pass.
- **Root cause**
- `ruff format --check .` reported two files as non-canonical:
- `scripts/pr-governance.py`
- `scripts/tests/test_pr_governance.py`
- **Change set**
- Applied `ruff` formatting to only the two flagged files.
- No behavioral or logic changes; edits are line-wrap/format
normalization only.
- **Representative update**
```python
parser.add_argument(
"--event", type=Path, required=True, help="Path to the GitHub event
payload JSON."
)
```
---------
Co-authored-by: JerrettDavis <mxjerrett@gmail.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
19 lines
363 B
JSON
19 lines
363 B
JSON
{
|
|
"action": "opened",
|
|
"number": 42,
|
|
"pull_request": {
|
|
"number": 42,
|
|
"draft": false,
|
|
"title": "feat: add PR governance",
|
|
"body": "## Description\n\nFixes #123\n",
|
|
"user": {
|
|
"login": "octocat"
|
|
},
|
|
"base": {
|
|
"sha": "dff6a199"
|
|
}
|
|
},
|
|
"repository": {
|
|
"full_name": "JerrettDavis/headroom"
|
|
}
|
|
}
|