-
-
Notifications
You must be signed in to change notification settings - Fork 637
/
.coderabbit.yml
66 lines (65 loc) · 2.28 KB
/
.coderabbit.yml
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
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
# https://docs.coderabbit.ai/guides/configure-coderabbit/
language: "en-US"
early_access: true
reviews:
profile: "chill"
high_level_summary: true
request_changes_workflow: false
review_status: false
collapse_walkthrough: false
poem: false
auto_review:
enabled: false
auto_incremental_review: false
drafts: true
base_branches:
- master
- beta
- rc
path_instructions:
- path: "**/*"
instructions: "
Focus on code smells, logic errors, edge cases, missing test cases, security flaws and serious issues.
Avoid commenting on minor issues such as linting, formatting and style issues.
This project uses tabs instead of spaces, do not suggest usage of spaces over tabs.
Are there any 'red flags' in this code that might warrant closer investigation from a security standpoint?
Explain what makes them suspicious.
When providing code suggestions, particularly when requested, ensure GitHub's suggestion format is used, i.e.:
```suggestion
<code changes>
```
"
- path: "**/*.py"
instructions: "
_, pgettext, ngettext, and ngettext are defined globally, errors for this being undefined can be ignored.
"
- path: "**/*.md"
instructions: "
Focus on grammar, spelling, and punctuation.
Also consider readability and clarity of contents.
Ensure that changes follow the style of one sentence per line, suggest changes if this is not met.
"
- path: "user_docs/en/changes.md"
instructions: "
Ensure each change log entry references an issue or pull request number.
Change log entries can also include a reference to a GitHub author.
Examples of valid change log entries:
* Item with sub-items (#123, @username):
* sub-item
* bar (#342)
* Item with.
Multiple lines. (#143)
"
tools:
github-checks:
enabled: true
ruff:
enabled: true
markdownlint:
# We use custom markdown syntax such as {#Anchor} for anchors.
# This is not supported by markdownlint.
# In future we plan to introduce markdownlint directly with custom rules. (#16453)
enabled: false
chat:
auto_reply: true