Skip to content

Commit b0bb7cc

Browse files
chore: add .coderabbit.yaml pinning Docstring Coverage to warning (#582)
## Summary Adds `.coderabbit.yaml` pinning CodeRabbit's Docstring Coverage pre-merge check to `mode: warning` (threshold 80) and enabling the docstrings finishing touch. ## Why This repo's effective `main` rules require the `CodeRabbit` status context (measured 2026-10-01 via `rules/branches/main`), so an `error`-mode Docstring Coverage check would make PRs here unmergeable at today's baseline. The level is pinned explicitly (an estate decision) rather than left to the vendor default. ## Verification - Key paths `reviews.pre_merge_checks.docstrings.{mode,threshold}` and `reviews.finishing_touches.docstrings.enabled` checked against the fetched https://coderabbit.ai/integrations/schema.v2.json (structural check: keys present in schema, `mode` in enum, `threshold` a number in [0,100], `enabled` boolean). No path differences from the intended layout. - SPDX header `MPL-2.0` on line 1. - Plain YAML; parses with yq. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01Hw7qg3u9PAP6b2oKyVTSVC <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Docstring checks now issue warnings when the configured threshold is not met, and docstring finishing touches are enabled. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 4d112c7 commit b0bb7cc

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

‎.coderabbit.yaml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# SPDX-License-Identifier: MPL-2.0
2+
# CodeRabbit configuration. Schema: https://coderabbit.ai/integrations/schema.v2.json
3+
#
4+
# Docstring Coverage pre-merge check is pinned to `mode: warning` as an explicit
5+
# estate decision rather than left to the vendor default. Some estate repos'
6+
# rulesets require the `CodeRabbit` status context; an `error` mode would make
7+
# them unmergeable at today's docstring-coverage baseline. Raise it per repo only
8+
# once that repo's coverage clears the threshold.
9+
reviews:
10+
pre_merge_checks:
11+
docstrings:
12+
mode: warning
13+
threshold: 80
14+
finishing_touches:
15+
docstrings:
16+
enabled: true

0 commit comments

Comments
 (0)