Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add CodeRabbit AI code review #100

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 80 additions & 0 deletions .coderabbit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
language: en-US
enable_free_tier: true

reviews:
profile: "assertive" # More detailed feedback for data processing code
request_changes_workflow: true
high_level_summary: true
review_status: true
commit_status: true
sequence_diagrams: true
changed_files_summary: true

labeling_instructions:
- label: "data-processing"
instructions: "Changes related to data ingestion, parsing, or transformation logic"
- label: "documentation"
instructions: "Changes to documentation, README, or inline code comments"
- label: "dependencies"
instructions: "Changes to project dependencies or requirements"

path_instructions:
- path: "**/*.py"
instructions: |
Check for:
- Type hints and return types for all functions
- Error handling for data processing edge cases
- Memory efficiency in data transformations
- Input validation
- Performance considerations for large datasets
- Documentation for public APIs
- path: "**/*.md"
instructions: |
Verify:
- Clear API documentation
- Usage examples
- Installation instructions
- Consistent formatting
- path: "**/tests/**"
instructions: |
Ensure:
- Test coverage for edge cases
- Clear test descriptions
- Proper test data setup

auto_review:
enabled: true
drafts: false
auto_incremental_review: true
ignore_title_keywords:
- "WIP"
- "DO NOT MERGE"
- "[DRAFT]"

tools:
ruff:
enabled: true

markdownlint:
enabled: true

gitleaks:
enabled: true

semgrep:
enabled: true

github-checks:
enabled: true
timeout_ms: 90000

chat:
auto_reply: true

knowledge_base:
pull_requests:
scope: "local"
issues:
scope: "local"
learnings:
scope: "local"
Loading