Minor lint

Fixes hanging imports from #2151
Fixes bare f-string from #2178
This commit is contained in:
Paul Pfeister 2024-06-24 15:42:08 -04:00
parent 58df6bbc2b
commit c2805f82e8
No known key found for this signature in database
GPG key ID: 70D33A96CBD7A994
2 changed files with 1 additions and 3 deletions

View file

@ -20,7 +20,7 @@ os.mkdir("output")
# Write the list of supported sites to sites.md # Write the list of supported sites to sites.md
with open("output/sites.mdx", "w") as site_file: 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: for social_network, info in social_networks:
url_main = info["urlMain"] url_main = info["urlMain"]
is_nsfw = "**(NSFW)**" if info.get("isNSFW") else "" is_nsfw = "**(NSFW)**" if info.get("isNSFW") else ""

View file

@ -11,7 +11,6 @@ import csv
import signal import signal
import pandas as pd import pandas as pd
import os import os
import platform
import re import re
import sys import sys
from argparse import ArgumentParser, RawDescriptionHelpFormatter from argparse import ArgumentParser, RawDescriptionHelpFormatter
@ -26,7 +25,6 @@ __version__ = "0.14.4"
del __version__ del __version__
from .__init__ import ( # noqa: E402 from .__init__ import ( # noqa: E402
__shortname__,
__longname__, __longname__,
__version__ __version__
) )