-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Adding .coderabbit.yaml File #8513
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
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
b1c7e17
Adding .coderabbit.yaml file
ericspod 2e83893
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 1be78e3
Apply suggestion from @mingxin-zheng
KumoLiu 749681d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 63fcf17
Update .coderabbit.yaml
KumoLiu 32d193c
Update to config file with added instructions and commentary
ericspod 7b8f06a
Merge branch 'dev' into coderabbit_config
ericspod 84bd10f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json | ||
|
|
||
| # This file configures CodeRabbit with the various options described in https://docs.coderabbit.ai/configure-coderabbit. | ||
| # CodeRabbit also has a set of commands here: https://docs.coderabbit.ai/guides/commands/ | ||
|
|
||
| language: "en-US" | ||
| early_access: false | ||
| tone_instructions: "Be terse and to the point in all statements and commentary." | ||
| reviews: | ||
| # chill is less verbose, assertive is more verbose with more nitpick feedback | ||
| profile: chill | ||
| high_level_summary: false | ||
| high_level_summary_placeholder: "@coderabbitai summary" | ||
| sequence_diagrams: false | ||
| auto_apply_labels: false | ||
| suggested_reviewers: false | ||
| changed_files_summary: false | ||
| suggested_labels: false | ||
| abort_on_close: true | ||
| poem: false | ||
| path_instructions: | ||
| - path: '**/*.md' | ||
KumoLiu marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| instructions: Remember that documentation must be updated with the latest information. | ||
| - path: '**/*.rst' | ||
| instructions: Remember that documentation must be updated with the latest information. | ||
| - path: '**/*.py' | ||
| instructions: >- | ||
| Review the Python code for quality and correctness. Ensure variable names adhere to PEP8 style guides, are | ||
| sensible and informative in regards to their function, though permitting simple names for loop and comprehension | ||
| variables. Ensure routine names are meaningful in regards to their function and use verbs, adjectives, and | ||
| nouns in a semantically appropriate way. Docstrings should be present for all definition which describe each | ||
| variable, return value, and raised exception in the appropriate section of the Google-style of docstrings. | ||
| Examine code for logical error or inconsistencies, and suggest what may be changed to addressed these. Suggest | ||
| any enhancements for code improving efficiency, maintainability, comprehensibility, and correctness. Ensure new | ||
| or modified definitions will be covered by existing or new unit tests. | ||
|
|
||
| auto_review: | ||
| # Automatic Review | Automatic code review | ||
| enabled: true | ||
| # Review draft PRs/MRs. | ||
| drafts: false | ||
| # ignore PRs with these in the title, these sorts of PRs should be drafts anyway | ||
| ignore_title_keywords: | ||
| - "WIP" | ||
| - "DO NOT MERGE" | ||
|
|
||
| # opt out for now until it's clear this isn't too much info and is useful | ||
| knowledge_base: | ||
| opt_out: true | ||
|
|
||
| # chat is allowed | ||
| chat: | ||
| auto_reply: true | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.