Repository navigation
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
66 lines (59 loc) · 2 KB
/
Copy path.coderabbit.yaml
File metadata and controls
66 lines (59 loc) · 2 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
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
language: "en-US"
early_access: false
tone_instructions: |
Direct and technical. Lead with the concrete risk or breakage, not praise.
No compliments or filler — if a change is fine, say nothing.
reviews:
profile: "assertive"
request_changes_workflow: true
high_level_summary: true
poem: false
review_status: true
commit_status: true
collapse_walkthrough: true
auto_review:
enabled: true
auto_incremental_review: true
drafts: false
ignore_title_keywords:
- "WIP"
- "DO NOT MERGE"
path_filters:
- "!**/__pycache__/**"
- "!**/*.pyc"
- "!**/*.egg-info/**"
- "!.venv/**"
path_instructions:
# Repo-wide review rules. These used to live in `tone_instructions`, but
# that field is capped at 250 characters by the CodeRabbit schema, which
# silently invalidated this whole file.
- path: "**"
instructions: |
CI already runs `ruff check`, `ruff format --check`, and `mypy` on
every PR — do not repeat their findings or nitpick style/formatting.
Only comment on issues introduced by this PR's changes; do not flag
pre-existing problems in moved, re-indented, or reformatted code.
- path: "src/comfy_sdk/**"
instructions: |
Public SDK surface. Focus on:
- Backward compatibility of public classes/functions (this is a
published SDK; breaking a signature breaks every consumer)
- Correct error handling and clear exceptions for network/API failures
- Type hints kept accurate and exported where part of the public API
- path: "tests/**"
instructions: |
Verify tests exercise the described behavior rather than just
asserting current output (no change-detector tests).
tools:
ruff:
enabled: false
gitleaks:
enabled: true
github-checks:
enabled: true
timeout_ms: 90000
ast-grep:
essential_rules: true
chat:
auto_reply: true