forked from opendatahub-io/opendatahub-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
87 lines (79 loc) · 2.17 KB
/
.coderabbit.yaml
File metadata and controls
87 lines (79 loc) · 2.17 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
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
# Inherits from org-wide config: https://github.com/opendatahub-io/coderabbit
# Only overrides listed below differ from the org baseline.
inheritance: true
reviews:
path_instructions:
- path: "**/*.py"
instructions: |
- This project targets Python 3.14 (requires-python = '==3.14.*').
- 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.
- Focus on security, test structure and coding style adherence in new code introduced
- Code should follow python, pytest best practices
- Ensure we use https://github.com/RedHatQE/openshift-python-wrapper/ instead of direct oc calls when possible
- Code reuse, test parameterization, proper test dependency should be also encouraged
- Check CONSTITUTION and AGENTS files
review_status: false
changed_files_summary: true
suggested_labels: true
suggested_reviewers: true
related_issues: true
related_prs: true
path_filters:
- "!.github/**"
finishing_touches:
docstrings:
enabled: true
unit_tests:
enabled: true
auto_review:
ignore_title_keywords:
- "wip"
- "do not merge"
- "do not review"
- "lock file maintenance"
- "pre-commit autoupdate"
tools:
languagetool:
enabled: true
biome:
enabled: true
swiftlint:
enabled: true
phpstan:
enabled: true
detekt:
enabled: true
rubocop:
enabled: true
buf:
enabled: true
regal:
enabled: true
pmd:
enabled: true
circleci:
enabled: true
clippy:
enabled: true
prismaLint:
enabled: true
pylint:
enabled: true
oxc:
enabled: true
shopifyThemeCheck:
enabled: true
luacheck:
enabled: true
brakeman:
enabled: true
dotenvLint:
enabled: true
chat:
auto_reply: true
knowledge_base:
web_search:
enabled: true
pull_requests:
scope: auto