forked from koxudaxi/datamodel-code-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
52 lines (52 loc) · 1.37 KB
/
.coderabbit.yaml
File metadata and controls
52 lines (52 loc) · 1.37 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
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
reviews:
# Path filters to reduce review scope and save rate limits
# Exclude patterns use ! prefix
path_filters:
# Include source code
- "src/**/*.py"
- "tests/**/*.py"
# Include expected output (important for review)
- "tests/data/expected/**/*.py"
# Include documentation
- "docs/**/*.md"
- "README.md"
# Include project config
- "pyproject.toml"
- "tox.ini"
- "zensical.toml"
- "Dockerfile"
- ".pre-commit-config.yaml"
- ".pre-commit-hooks.yaml"
- "action.yml"
# Include GitHub Actions and config
- ".github/**/*.yaml"
- ".github/**/*.yml"
- ".github/**/*.md"
# Include scripts
- "scripts/**"
# Exclude test input fixtures (json/yaml/graphql schemas)
- "!tests/data/**/*.json"
- "!tests/data/**/*.yaml"
- "!tests/data/**/*.yml"
- "!tests/data/**/*.graphql"
- "!tests/data/**/*.csv"
- "!tests/data/**/*.txt"
# Exclude generated/cached files
- "!**/__pycache__/**"
- "!**/*.pyc"
- "!.tox/**"
- "!site/**"
- "!.coverage"
- "!**/*.lock"
- "!.benchmarks/**"
- "!.cache/**"
- "!.pytest_cache/**"
- "!.ruff_cache/**"
# Exclude IDE/editor files
- "!.idea/**"
- "!.vscode/**"
tools:
ruff:
enabled: true
config_file: "pyproject.toml"