Revus is an automated pull request (PR) review application that uses large language models (LLMs) to streamline and standardize code reviews.
pipx install revus
Create a configuration file called revus.toml
with the following parameters:
OPENAI_API_KEY
- your OpenAI API key, available here.model_name
- any available OpenAI model (default is gpt-4o-mini).file_types
- specify file types for the application to read using an array of strings (default is [“.py”]).language
- specify the language for review content (default is English).exclude_paths
- files or paths the application should ignore.custom_rules
- custom rules for review, if needed.
To view the help information for Revus, run:
revus --help
To review changes with Revus, first add modified files to staging:
git add <file_name>
or add all files:
git add .
Then, run the application in the project folder:
revus
To review changes in a specific file or directory, use the -p option:
revus -p <path_to_file_or_directory>
Important: Revus reviews each file individually, simplifying context management.
New features will be added soon.
This project is in active development, currently in alpha, and may have limited or experimental features.
For issues or suggestions, reach out on Telegram or Linkedin.