Skip to content

Commit

Permalink
style: format code with black and isort (#276)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
deepsource-autofix[bot] authored Aug 26, 2023
1 parent 6172729 commit 7bda0eb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions misskaty/plugins/misc_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 7bda0eb

Please sign in to comment.