chore: fix unnecessary string concatation in single line (#8311)
This commit is contained in:
parent
08c486452f
commit
6613b8f2e0
30 changed files with 46 additions and 49 deletions
|
|
@ -39,7 +39,7 @@ class GithubRepositoriesTool(BuiltinTool):
|
|||
response = s.request(
|
||||
method="GET",
|
||||
headers=headers,
|
||||
url=f"{api_domain}/search/repositories?" f"q={quote(query)}&sort=stars&per_page={top_n}&order=desc",
|
||||
url=f"{api_domain}/search/repositories?q={quote(query)}&sort=stars&per_page={top_n}&order=desc",
|
||||
)
|
||||
response_data = response.json()
|
||||
if response.status_code == 200 and isinstance(response_data.get("items"), list):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue