forked from nvaccess/nvda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.coderabbit.yml
51 lines (50 loc) · 1.72 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
# 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: true
auto_incremental_review: false
drafts: false
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.
"
- 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.
"
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