forked from ETLCPP/etl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
200 lines (162 loc) · 8.46 KB
/
Copy path.coderabbit.yaml
File metadata and controls
200 lines (162 loc) · 8.46 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
language: "en-GB"
early_access: false
reviews:
profile: "chill"
request_changes_workflow: false
high_level_summary: false
high_level_summary_in_walkthrough: false
poem: false
review_status: false
collapse_walkthrough: false
changed_files_summary: false
sequence_diagrams: false
estimate_code_review_effort: false
assess_linked_issues: false
related_issues: false
related_prs: false
suggested_labels: false
suggested_reviewers: false
auto_review:
enabled: true
drafts: false
path_instructions:
- path: "include/etl/*.h"
instructions: |
Review the C++ code in these directories. The code must not use
STL containers but must instead rely on Embedded Template Library
(ETL) for data structures and algorithms.
When answering questions, provide accurate and concise information based on the ETL documentation and codebase. If you don't know the answer, just say "I don't know". Do not make up answers.
When providing code examples, ensure they are relevant to the ETL and follow its conventions.
Always be polite and professional in your responses.
Header files should start with the ETL's standard MIT comment block.
Header files should have include guards in the format '#ifndef ETL_<FILENAME>>_INCLUDED #define ETL_<FILENAME>_INCLUDED #endif'
Headers should be organized in the following order
- The first header include should be '#include "platform.h"'
- Headers from the ETL
- Headers from the path 'private/**'
- C++ standard library headers
- C standard library headers
Pay extra attention to the following
- Buffer overflows
- Memory leaks
- Undefined behavior
Check that the following conventions are used
- Variable names should be in `snake_case`
- Macro constants should be `ALL_CAPS_WITH_UNDERSCORES`
- Macro constants should be prefixed with 'ETL_'
- Function, class, and type names should be `snake_case`
- enum members should be `Caps_Snake_Case`
Please keep your outputs short and to the point, unless otherwise asked
- Keep your responses short, describe small issues in a few sentences
- Don't output tips, analysis chains or anything else with a collapsible view
- Don't output `comment summaries` or `fix prompts for AIs`
- If the highlighted issue is complex, don't suggest a solution
- Don't use emojis
- path: "include/etl/atomic/*.h"
instructions: |
Review the C++ code in these directories. The code must not use
STL containers but must instead rely on Embedded Template Library
(ETL) for data structures and algorithms.
When answering questions, provide accurate and concise information based on the ETL documentation and codebase. If you don't know the answer, just say "I don't know". Do not make up answers.
When providing code examples, ensure they are relevant to the ETL and follow its conventions.
Always be polite and professional in your responses.
Header files should start with the ETL's standard MIT comment block.
Header files are allowed to not have include guards
Headers should be organized in the following order
- Headers from the ETL
- Headers from the path 'private/**'
- C++ standard library headers
- C standard library headers
Pay extra attention to the following
- Buffer overflows
- Memory leaks
- Undefined behavior
Check that the following conventions are used
- Variable names should be in `snake_case`
- Macro constants should be `ALL_CAPS_WITH_UNDERSCORES`
- Macro constants should be prefixed with 'ETL_'
- Function, class, and type names should be `snake_case`
- enum members should be `Caps_Snake_Case`
Please keep your outputs short and to the point, unless otherwise asked
- Keep your responses short, describe small issues in a few sentences
- Don't output tips, analysis chains or anything else with a collapsible view
- Don't output `comment summaries` or `fix prompts for AIs`
- If the highlighted issue is complex, don't suggest a solution
- Don't use emojis
- path: "include/etl/atomic/*.h"
instructions: |
Review the C++ code in these directories. The code must not use
STL containers but must instead rely on Embedded Template Library
(ETL) for data structures and algorithms.
When answering questions, provide accurate and concise information based on the ETL documentation and codebase. If you don't know the answer, just say "I don't know". Do not make up answers.
When providing code examples, ensure they are relevant to the ETL and follow its conventions.
Always be polite and professional in your responses.
Header files should start with the ETL's standard MIT comment block.
Header files are allowed to not have include guards
Headers should be organized in the following order
- Headers from the ETL
- Headers from the path 'private/**'
- C++ standard library headers
- C standard library headers
Pay extra attention to the following
- Buffer overflows
- Memory leaks
- Undefined behavior
Check that the following conventions are used
- Variable names should be in `snake_case`
- Macro constants should be `ALL_CAPS_WITH_UNDERSCORES`
- Macro constants should be prefixed with 'ETL_'
- Function, class, and type names should be `snake_case`
- enum members should be `Caps_Snake_Case`
Please keep your outputs short and to the point, unless otherwise asked
- Keep your responses short, describe small issues in a few sentences
- Don't output tips, analysis chains or anything else with a collapsible view
- Don't output `comment summaries` or `fix prompts for AIs`
- If the highlighted issue is complex, don't suggest a solution
- Don't use emojis
- path: "include/etl/mutex/*.h"
instructions: |
Review the C++ code in these directories. The code must not use
STL containers but must instead rely on Embedded Template Library
(ETL) for data structures and algorithms.
When answering questions, provide accurate and concise information based on the ETL documentation and codebase. If you don't know the answer, just say "I don't know". Do not make up answers.
When providing code examples, ensure they are relevant to the ETL and follow its conventions.
Always be polite and professional in your responses.
Header files should start with the ETL's standard MIT comment block.
Header files are allowed to not have include guards
Headers should be organized in the following order
- Headers from the ETL
- Headers from the path 'private/**'
- C++ standard library headers
- C standard library headers
Pay extra attention to the following
- Buffer overflows
- Memory leaks
- Undefined behavior
Check that the following conventions are used
- Variable names should be in `snake_case`
- Macro constants should be `ALL_CAPS_WITH_UNDERSCORES`
- Macro constants should be prefixed with 'ETL_'
- Function, class, and type names should be `snake_case`
- enum members should be `Caps_Snake_Case`
Please keep your outputs short and to the point, unless otherwise asked
- Keep your responses short, describe small issues in a few sentences
- Don't output tips, analysis chains or anything else with a collapsible view
- Don't output `comment summaries` or `fix prompts for AIs`
- If the highlighted issue is complex, don't suggest a solution
- Don't use emojis
- path: "include/etl/deprecated/*.h"
instructions: |
Ingnore files in this directory
- path: "include/etl/experimental/*.h"
instructions: |
Ingnore files in this directory
- path: "include/etl/generators/*.h"
instructions: |
Ingnore files in this directory
- path: "include/etl/profiles/*.h"
instructions: |
Ingnore files in this directory
chat:
art: false
auto_reply: true