Files
Guillaume Meyer (The Opinionated Man)GitHubcoderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>guillaumemeyercoderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1a865e4d19 chore: add CodeRabbit config for automated PR reviews (#222)
* chore: add .coderabbit.yaml config for automated PR reviews

* chore: drop security scanning keys from .coderabbit.yaml

* Update .coderabbit.yaml

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* chore: drop unsupported auto_review.base key from .coderabbit.yaml

---------

Co-authored-by: guillaumemeyer <guillaumemeyer@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-08-21 12:30:18 -07:00

39 lines
1.5 KiB
YAML

# CodeRabbit config — rules from CONTRIBUTING.md, ruff.toml, CI.
language: en-US
early_access: false
reviews:
profile: assertive
request_changes_workflow: false
high_level_summary: true
poem: false
review_status: true
collapse_walkthrough: true
auto_review:
enabled: true
drafts: false
path_instructions:
- path: "**/*.py"
instructions: |
- Follow ruff.toml: line-length 100, target py312, rules E/F/W/I/UP/B/SIM/RUF/PLW/S.
- Stdlib-first; no new runtime deps for skill scripts (CONTRIBUTING).
- Tests live under tests/ (pytest, test_*.py); asserts are fine (S101 ignored).
- Tests intentionally embed confusable Unicode — don't flag RUF001/RUF003 there.
- No drive-by refactors unrelated to the fix.
- path: "skills/**"
instructions: |
- SKILL.md is the contract: changes must stay consistent with it and references/removal-matrix.md.
- Respect references/ethics.md: tool is only for content the user owns.
- path: "service/**"
instructions: |
- Preserve document body / pixels / waveform; strip provenance metadata only.
- Never use shell=True; guard subprocess args with safe_arg().
- path: ".github/**"
instructions: |
- CI gates: pytest -q, ruff check + format on service and tests, OpenAPI spec validation, pip-audit.
- Pin actions to commit SHA with a comment version, matching existing style.
- CODEOWNERS: only the maintainer approves/merges; CodeRabbit feedback is advisory.
chat:
auto_reply: true