-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
31 lines (31 loc) · 1.07 KB
/
.coderabbit.yaml
File metadata and controls
31 lines (31 loc) · 1.07 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
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
---
reviews:
commit_status: true
path_instructions:
- path: app/webapp.py
instructions: |
Review Python code for:
- Type annotations and proper typing
- Async/await patterns for aiohttp web handlers
- Docstrings following PEP 257 conventions
- Proper error handling and HTTP status codes
- Correct usage of aioswitcher API
- path: app/tests/**/*.py
instructions: |
Review test code for:
- Proper async test patterns with pytest-asyncio
- Adequate mocking of aioswitcher API
- Test coverage for error cases
- path: Dockerfile
instructions: |
Review Dockerfile for:
- Security best practices (non-root user, minimal image)
- Proper layer caching
- Minimal image size
- path: .github/workflows/*.yml
instructions: |
Review GitHub Actions workflows for:
- Security best practices
- Proper caching strategies
- Correct action versions