Coderabbit currently runs in ovsrobot repository (and can be used in
public personal forks).

poems are funny, but not really helpful.
Reduce some noise by disabling (or collapsing) some verbose outputs.

Signed-off-by: David Marchand <[email protected]>
---
I copied the tone instructions and some settings from grout.
The docstrings check is noisy, and often wrong for C headers
(especially EAL arch headers).

Opinions?

---
 .coderabbit.yaml           | 14 ++++++++++++++
 MAINTAINERS                |  1 +
 devtools/check-spdx-tag.sh |  2 +-
 3 files changed, 16 insertions(+), 1 deletion(-)
 create mode 100644 .coderabbit.yaml

diff --git a/.coderabbit.yaml b/.coderabbit.yaml
new file mode 100644
index 0000000000..7968f4f4ba
--- /dev/null
+++ b/.coderabbit.yaml
@@ -0,0 +1,14 @@
+language: "en-US"
+tone_instructions: "Only provide helpful, relevant comments. Be brief and 
terse but clear."
+reviews:
+  profile: "chill"
+  collapse_walkthrough: true
+  changed_files_summary: false
+  sequence_diagrams: false
+  suggested_labels: false
+  poem: false
+  finishing_touches:
+    docstrings:
+      enabled: false
+    unit_tests:
+      enabled: false
diff --git a/MAINTAINERS b/MAINTAINERS
index 1a2729be66..b82632fea3 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -141,6 +141,7 @@ M: Aaron Conole <[email protected]>
 M: Michael Santana <[email protected]>
 F: .github/workflows/build.yml
 F: .ci/
+F: .coderabbit.yaml
 
 Driver information
 M: Dmitry Kozlyuk <[email protected]>
diff --git a/devtools/check-spdx-tag.sh b/devtools/check-spdx-tag.sh
index 984825026e..eb4a88a3fb 100755
--- a/devtools/check-spdx-tag.sh
+++ b/devtools/check-spdx-tag.sh
@@ -18,7 +18,7 @@ print_usage () {
 no_license_list=\
 ':^.git* :^.mailmap :^.ci/* :^README :^*/README* :^MAINTAINERS :^VERSION 
:^ABI_VERSION '\
 ':^license/ :^config/ :^buildtools/ :^*.abignore :^*.cocci :^*/poetry.lock '\
-':^*/Kbuild :^kernel/linux/uapi/version '\
+':^*/Kbuild :^kernel/linux/uapi/version :^.coderabbit.yaml '\
 ':^*.ini :^*.data :^*.json :^*.cfg :^*.txt :^*.svg :^*.png'
 
 check_spdx() {
-- 
2.51.0

Reply via email to