From 7bda0ebd70a9ad7b24c7aac5f444a7572cac631d Mon Sep 17 00:00:00 2001
From: "deepsource-autofix[bot]"
<62050782+deepsource-autofix[bot]@users.noreply.github.com>
Date: Sat, 26 Aug 2023 22:25:10 +0700
Subject: [PATCH] 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>
---
misskaty/plugins/misc_tools.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/misskaty/plugins/misc_tools.py b/misskaty/plugins/misc_tools.py
index 6b336a532f..7e0ef57a40 100644
--- a/misskaty/plugins/misc_tools.py
+++ b/misskaty/plugins/misc_tools.py
@@ -228,8 +228,7 @@ async def gsearch(_, message):
parse = json.loads(arr)
total = len(parse)
res = "".join(
- f"{i['title']}\n{i['snippet']}\n\n"
- for i in parse
+ f"{i['title']}\n{i['snippet']}\n\n" for i in parse
)
except Exception:
exc = traceback.format_exc()