-
-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
126 lines (94 loc) · 2.89 KB
/
Copy path.coderabbit.yaml
File metadata and controls
126 lines (94 loc) · 2.89 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
# CodeRabbit Configuration for NexumDB
# Enables automatic PR reviews and per-commit incremental reviews
language: "en-US"
early_access: false
reviews:
# Review style - assertive for thorough reviews
profile: "assertive"
# Don't request changes, just provide feedback
request_changes_workflow: false
# Generate a high-level summary of changes
high_level_summary: true
# Show review status in PR
review_status: true
# Show commit status
commit_status: true
# Don't collapse the walkthrough
collapse_walkthrough: false
# Show changed files summary
changed_files_summary: true
# Generate sequence diagrams for complex flows
sequence_diagrams: true
# Estimate code review effort
estimate_code_review_effort: true
# Assess linked issues
assess_linked_issues: true
# Find related issues and PRs
related_issues: true
related_prs: true
# Suggest labels and reviewers
suggested_labels: true
suggested_reviewers: true
# Show in-progress fortune cookie
in_progress_fortune: true
# No poem (keeping it professional)
poem: false
# Auto-review configuration
auto_review:
# Enable automatic reviews
enabled: true
# Enable incremental reviews on each new commit/push
auto_incremental_review: true
# Also review draft PRs
drafts: true
# Review PRs targeting any branch
base_branches: []
# Don't ignore any users
ignore_usernames: []
# Keywords in title that will skip review
ignore_title_keywords: []
# Labels that trigger review
labels: []
# Tool integrations
tools:
# Python linting with Ruff
ruff:
enabled: true
# Shell script linting
shellcheck:
enabled: true
# Dockerfile linting
hadolint:
enabled: true
# Markdown linting
markdownlint:
enabled: true
# GitHub checks integration
github-checks:
enabled: true
timeout_ms: 90000
# Language tool for documentation
languagetool:
enabled: true
level: "default"
# Path-specific review instructions
path_instructions:
- path: "**/*.rs"
instructions: "Focus on Rust best practices, memory safety, error handling, and idiomatic code patterns."
- path: "**/*.py"
instructions: "Check Python code quality, type hints usage, and PEP 8 compliance."
- path: "**/Dockerfile"
instructions: "Review for security best practices, multi-stage builds optimization, and minimal image size."
- path: "**/*.md"
instructions: "Check documentation clarity, spelling, grammar, and formatting."
# Chat configuration
chat:
# Enable auto-reply in discussions
auto_reply: true
# Knowledge base
knowledge_base:
# Use repository context for better reviews
opt_out: false
learnings:
scope: "auto"