Skip to content

Commit 92045e2

Browse files
dbasunagclaude
andauthored
chore: add instructions for coderabbit, since learning is disabled (#1290)
* chore: add instructions for coderabbit, since learning is disabled Signed-off-by: Debarati Basu-Nag <dbasunag@redhat.com> Co-Authored-By: Claude <noreply@anthropic.com> * fix: add refernce to agent and claude.md Signed-off-by: Debarati Basu-Nag <dbasunag@redhat.com> Co-Authored-By: Claude <noreply@anthropic.com> --------- Signed-off-by: Debarati Basu-Nag <dbasunag@redhat.com> Co-authored-by: Claude <noreply@anthropic.com>
1 parent 3660091 commit 92045e2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.coderabbit.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@
55
inheritance: true
66

77
reviews:
8+
path_instructions:
9+
- path: "**/*.py"
10+
instructions: |
11+
- This project targets Python 3.14 (requires-python = '==3.14.*').
12+
- Per PEP 758 (https://peps.python.org/pep-0758/), bare 'except ExcA, ExcB:' without parentheses is valid syntax in Python 3.14+ and means catching both exceptions. Do not flag this as a Python 2-style except clause or suggest adding parentheses.
13+
- Focus on security, test structure and coding style adherence in new code introduced
14+
- Code should follow python, pytest best practices
15+
- Ensure we use https://github.com/RedHatQE/openshift-python-wrapper/ instead of direct oc calls when possible
16+
- Code reuse, test parameterization, proper test dependency should be also encouraged
17+
- Check CONSTITUTION and AGENTS files
818
review_status: false
919
changed_files_summary: true
1020
suggested_labels: true

0 commit comments

Comments
 (0)