extend additional files

This commit is contained in:
mrT23
2024-06-30 18:38:06 +03:00
parent 3e6263e1cc
commit f2cb70ea67
3 changed files with 66 additions and 22 deletions

View File

@ -71,10 +71,6 @@ class PRAddDocs:
async def _prepare_prediction(self, model: str):
get_logger().info('Getting PR diff...')
# Disable adding docs to scripts and other non-relevant text files
from pr_agent.algo.language_handler import bad_extensions
bad_extensions += get_settings().docs_blacklist_extensions.docs_blacklist
self.patches_diff = get_pr_diff(self.git_provider,
self.token_handler,
model,