Skip to content

Enhance Code Review Process with Custom Prompts, Language Selection, and Automated Testing

Latest
Compare
Choose a tag to compare
@cirolini cirolini released this 21 May 16:53
· 3 commits to main since this release
c316e1d

Overview:

This PR introduces significant enhancements to the code review automation process, including support for custom prompts, language selection, and integration of automated testing using pytest and pylint.

Changes:

Custom Prompts:

  • Added support for user-defined custom prompts.
  • Example usage: custom_prompt: "Give a rating from 1 to 10 for this code:".

Language Selection:

  • ntroduced the ability to specify the language for code review responses.
  • Default language is set to English (en).

Automated Testing:

  • Implemented unit tests using pytest for core functionalities.

Refactoring:

  • Modularized the code for better maintainability.
  • Improved error handling and logging.
  • Ensured compliance with PEP8 standards.