From c2805f82e8632049da0fe662220277bda9216ba9 Mon Sep 17 00:00:00 2001 From: Paul Pfeister Date: Mon, 24 Jun 2024 15:42:08 -0400 Subject: [PATCH] Minor lint Fixes hanging imports from #2151 Fixes bare f-string from #2178 --- devel/site-list.py | 2 +- sherlock/sherlock.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/devel/site-list.py b/devel/site-list.py index 17b2ce2ed..5534a9438 100644 --- a/devel/site-list.py +++ b/devel/site-list.py @@ -20,7 +20,7 @@ # Write the list of supported sites to sites.md with open("output/sites.mdx", "w") as site_file: - site_file.write(f"---\ntitle: 'List of supported sites'\nsidebarTitle: 'Supported sites'\nicon: 'globe'\ndescription: 'Sherlock currently supports **400+** sites'\n---\n\n") + site_file.write("---\ntitle: 'List of supported sites'\nsidebarTitle: 'Supported sites'\nicon: 'globe'\ndescription: 'Sherlock currently supports **400+** sites'\n---\n\n") for social_network, info in social_networks: url_main = info["urlMain"] is_nsfw = "**(NSFW)**" if info.get("isNSFW") else "" diff --git a/sherlock/sherlock.py b/sherlock/sherlock.py index 4b7a27988..db8e9c2cb 100644 --- a/sherlock/sherlock.py +++ b/sherlock/sherlock.py @@ -11,7 +11,6 @@ import signal import pandas as pd import os -import platform import re import sys from argparse import ArgumentParser, RawDescriptionHelpFormatter @@ -26,7 +25,6 @@ del __version__ from .__init__ import ( # noqa: E402 - __shortname__, __longname__, __version__ )