mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-06 22:00:40 +08:00
Publish comment when improve has no suggestions
This commit is contained in:
@ -93,6 +93,10 @@ class PRCodeSuggestions:
|
|||||||
|
|
||||||
def push_inline_code_suggestions(self, data):
|
def push_inline_code_suggestions(self, data):
|
||||||
code_suggestions = []
|
code_suggestions = []
|
||||||
|
|
||||||
|
if not data['Code suggestions']:
|
||||||
|
return self.git_provider.publish_comment('🎉 The PR looks good and there is nothing to suggest!')
|
||||||
|
|
||||||
for d in data['Code suggestions']:
|
for d in data['Code suggestions']:
|
||||||
try:
|
try:
|
||||||
if get_settings().config.verbosity_level >= 2:
|
if get_settings().config.verbosity_level >= 2:
|
||||||
|
Reference in New Issue
Block a user