Remove logging from pr_agent.py and add line breaks in cli.py and github_action_runner.py

This commit is contained in:
mrT23 2023-12-14 09:08:47 +02:00
parent 38ea9143f3
commit 02871b1e3d
No known key found for this signature in database
GPG key ID: D350490E39D5F5AD
3 changed files with 2 additions and 1 deletions

View file

@ -71,7 +71,6 @@ class PRAgent:
if notify:
notify()
get_logger().info(f"Class: {command2class[action]}")
await command2class[action](pr_url, ai_handler=self.ai_handler, args=args).run()
else:
return False

View file

@ -5,6 +5,7 @@ import os
from pr_agent.agent.pr_agent import PRAgent, commands
from pr_agent.config_loader import get_settings
from pr_agent.log import setup_logger
setup_logger()

View file

@ -12,6 +12,7 @@ from pr_agent.tools.pr_code_suggestions import PRCodeSuggestions
from pr_agent.tools.pr_description import PRDescription
from pr_agent.tools.pr_reviewer import PRReviewer
def is_true(value: Union[str, bool]) -> bool:
if isinstance(value, bool):
return value