-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
109 lines (89 loc) · 2.71 KB
/
Copy path.coderabbit.yaml
File metadata and controls
109 lines (89 loc) · 2.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
# CodeRabbit Configuration
# https://docs.coderabbit.ai/guides/configure-coderabbit
language: en-US
# Review settings
reviews:
# Enable auto-review on PRs
auto_review:
enabled: true
# Don't review draft PRs
drafts: false
# Review based on changed lines
base_branches:
- main
- dev
# Review profile - balance between thoroughness and noise
profile: assertive
# Request changes vs comments
request_changes_workflow: false
# High-level summary in PR description
high_level_summary: true
high_level_summary_placeholder: "@coderabbitai summary"
# Generate poem (fun but optional)
poem: false
# Review status in PR
review_status: true
# Collapse walkthrough in PR summary
collapse_walkthrough: true
# Path-based review instructions
path_instructions:
- path: "src/**/*.py"
instructions: |
- Check for proper type hints (project uses strict mypy)
- Ensure async functions are properly awaited
- Watch for potential security issues (SQL injection, command injection)
- Verify proper error handling
- path: "tests/**/*.py"
instructions: |
- Ensure tests are meaningful, not just coverage padding
- Check for proper mocking and fixtures
- Verify async tests use pytest-asyncio markers
- path: "src/gobby/mcp_proxy/**"
instructions: |
- This is the MCP (Model Context Protocol) proxy layer
- Check for proper tool schema validation
- Ensure tools return appropriate response structures
- path: "src/gobby/hooks/**"
instructions: |
- Hook handlers must be idempotent
- Check for proper event handling patterns
- Ensure plugins follow the HookPlugin interface
# Tool integrations
tools:
# Enable AST-based analysis
ast-grep: {}
# GitHub Actions feedback
github-checks:
enabled: true
# Enable linter integration for context
ruff:
enabled: true
# Shell script analysis
shellcheck:
enabled: true
# Ignore patterns - files to skip reviewing
path_filters:
- "!docs/plans/abandoned/**" # Historical plans, not active guidelines
- "!docs/plans/completed/**"
- "!.gobby/plans/completed/**"
- "!**/*.lock"
- "!**/uv.lock"
- "!**/.gobby/tasks.jsonl"
- "!**/htmlcov/**"
- "!**/__pycache__/**"
- "!**/.mypy_cache/**"
- "!**/build/**"
- "!**/dist/**"
# Chat settings
chat:
# Enable chat interactions in PR comments
auto_reply: true
# Knowledge base
knowledge_base:
# Learn from merged PRs
learnings:
scope: auto
# Reference issues and discussions
issues:
scope: auto