Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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
5 changes: 3 additions & 2 deletions .coderabbit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ reviews:
path_instructions:
- path: "**/*.{rs,toml}"
instructions:
"Review the Rust code for conformity with best practices in Rust,
Systems programming. Highlight any deviations."
"Review the Rust code and Python code for conformity with best practices in Rust,
Systems programming and Python. Highlight any deviations. Also highlight if there any
any security issues in the code"
Comment on lines 19 to +23
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Python review instruction targets the wrong path pattern.

The path is **/*.{rs,toml}, which never matches .py files. The "Python code" mention in instructions has no effect. Either add a separate path_instructions entry for **/*.py, or remove the Python reference from this rule.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.coderabbit.yml around lines 19 - 23, The YAML rule uses path:
"**/*.{rs,toml}" but its instructions mention Python, so update the
.coderabbit.yml rule by either adding a new rule with path: "**/*.py" containing
the Python-specific instructions (or split into path_instructions entries), or
remove the Python reference from the existing instructions; target the "path"
and "instructions" keys in the existing rule to implement the fix.


Loading