mirror of
https://github.com/sherlock-project/sherlock
synced 2024-11-15 00:37:06 +00:00
Minor lint
Fixes hanging imports from #2151 Fixes bare f-string from #2178
This commit is contained in:
parent
58df6bbc2b
commit
c2805f82e8
2 changed files with 1 additions and 3 deletions
|
@ -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 ""
|
||||||
|
|
|
@ -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__
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue