Skip to content

Commit c2805f8

Browse files
committed
Minor lint
Fixes hanging imports from #2151 Fixes bare f-string from #2178
1 parent 58df6bb commit c2805f8

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

devel/site-list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
# Write the list of supported sites to sites.md
2222
with open("output/sites.mdx", "w") as site_file:
23-
site_file.write(f"---\ntitle: 'List of supported sites'\nsidebarTitle: 'Supported sites'\nicon: 'globe'\ndescription: 'Sherlock currently supports **400+** sites'\n---\n\n")
23+
site_file.write("---\ntitle: 'List of supported sites'\nsidebarTitle: 'Supported sites'\nicon: 'globe'\ndescription: 'Sherlock currently supports **400+** sites'\n---\n\n")
2424
for social_network, info in social_networks:
2525
url_main = info["urlMain"]
2626
is_nsfw = "**(NSFW)**" if info.get("isNSFW") else ""

sherlock/sherlock.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
import signal
1212
import pandas as pd
1313
import os
14-
import platform
1514
import re
1615
import sys
1716
from argparse import ArgumentParser, RawDescriptionHelpFormatter
@@ -26,7 +25,6 @@
2625
del __version__
2726

2827
from .__init__ import ( # noqa: E402
29-
__shortname__,
3028
__longname__,
3129
__version__
3230
)

0 commit comments

Comments
 (0)