-
Notifications
You must be signed in to change notification settings - Fork 1.2k
refactor: extract TODO formatting functions and simplify data structure #1888
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
Conversation
PR Reviewer Guide 🔍(Review updated until commit ee36c02)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to ee36c02
Previous suggestions✅ Suggestions up to commit 7c02678
|
||||||||||||||||||||
Co-authored-by: qodo-merge-for-open-source[bot] <189517486+qodo-merge-for-open-source[bot]@users.noreply.github.com>
|
Persistent review updated to latest commit ee36c02 |
|
Preparing review... |
1 similar comment
|
Preparing review... |
|
Persistent review updated to latest commit ee36c02 |
1 similar comment
|
Persistent review updated to latest commit ee36c02 |
PR Type
Enhancement
Description
Extract TODO formatting functions from main conversion logic
Simplify TODO data structure from line ranges to single line numbers
Remove TODO summary field and details wrapper from output
Add item truncation limit for TODO display
Changes diagram
Changes walkthrough 📝
utils.py
Extract TODO formatting functions and simplify structurepr_agent/algo/utils.py
format_todo_item()andformat_todo_items()functions frominline code
pr_reviewer.py
Update TODO scan configuration access methodpr_agent/tools/pr_reviewer.py
require_todo_scanaccess from direct attribute toget()methodwith default False
pr_reviewer_prompts.toml
Simplify TODO data model structurepr_agent/settings/pr_reviewer_prompts.toml
TodoSectionfromline_rangetuple toline_numberintegertodo_summaryfield from Review model