mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-11 18:35:18 +00:00
Merge pull request #2059 from sbobryshev/patch-1
Remove useless pass from git_provider
This commit is contained in:
commit
d862d82475
1 changed files with 0 additions and 2 deletions
|
|
@ -376,7 +376,6 @@ def get_main_pr_language(languages, files) -> str:
|
||||||
break
|
break
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
get_logger().exception(f"Failed to get main language: {e}")
|
get_logger().exception(f"Failed to get main language: {e}")
|
||||||
pass
|
|
||||||
|
|
||||||
## old approach:
|
## old approach:
|
||||||
# most_common_extension = max(set(extension_list), key=extension_list.count)
|
# most_common_extension = max(set(extension_list), key=extension_list.count)
|
||||||
|
|
@ -401,7 +400,6 @@ def get_main_pr_language(languages, files) -> str:
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
get_logger().exception(e)
|
get_logger().exception(e)
|
||||||
pass
|
|
||||||
|
|
||||||
return main_language_str
|
return main_language_str
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue