Create a pull request
Now that CodeRabbit is integrated with your repository, itās time to see it in action. Youāll create a pull request with intentionally imperfect code to demonstrate how CodeRabbit identifies issues and provides actionable feedback. The following steps guide you through creating a pull request that adds a small Python library with a few common code quality issues. Use your usual Git workflow to perform the following steps in thecoderabbit-test repository:
Create a new file
In that new
add-utils branch, create a new file called simple_utils.py, with the following content:Commit the file
Commit the added file to the
add-utils branch. Use any text you want for the commit message.@coderabbitai GitHub account. It performs the following actions, all of which are visible on the pull requestās page on GitHub:
- If you didnāt write a pull request summary, then CodeRabbit adds a new summary to the pull request.
- CodeRabbit posts a comment titled Walkthrough containing analysis and commentary about the content of the pull request.
- CodeRabbit attaches a detailed code review to the pull request as another comment.
