style: format code with black and isort (#276)

Format code with black and isort

This commit fixes the style issues introduced in 6172729 according to the output
from Black and isort.

Details: None

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
This commit is contained in:
deepsource-autofix[bot] 2023-08-26 22:25:10 +07:00 committed by GitHub
parent 6172729559
commit 7bda0ebd70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -228,8 +228,7 @@ async def gsearch(_, message):
parse = json.loads(arr)
total = len(parse)
res = "".join(
f"<a href='{i['link']}'>{i['title']}</a>\n{i['snippet']}\n\n"
for i in parse
f"<a href='{i['link']}'>{i['title']}</a>\n{i['snippet']}\n\n" for i in parse
)
except Exception:
exc = traceback.format_exc()