auto tools in github action

This commit is contained in:
mrT23
2023-09-25 18:56:10 +03:00
parent 34ed598c20
commit 4c72cfbff4
4 changed files with 23 additions and 5 deletions

View File

@ -22,7 +22,10 @@ class PRCodeSuggestions:
)
# extended mode
self.is_extended = any(["extended" in arg for arg in args])
try:
self.is_extended = any(["extended" in arg for arg in args])
except:
self.is_extended = False
if self.is_extended:
num_code_suggestions = get_settings().pr_code_suggestions.num_code_suggestions_per_chunk
else: