mirror of
https://github.com/sherlock-project/sherlock
synced 2024-11-22 03:43:02 +00:00
Comply with PEP 561
This commit is contained in:
parent
9e111a334b
commit
0d0335bca0
2 changed files with 5 additions and 5 deletions
0
sherlock_project/py.typed
Normal file
0
sherlock_project/py.typed
Normal file
|
@ -167,14 +167,14 @@ def multiple_usernames(username):
|
||||||
|
|
||||||
|
|
||||||
def sherlock(
|
def sherlock(
|
||||||
username,
|
username: str,
|
||||||
site_data,
|
site_data: dict,
|
||||||
query_notify: QueryNotify,
|
query_notify: QueryNotify,
|
||||||
tor: bool = False,
|
tor: bool = False,
|
||||||
unique_tor: bool = False,
|
unique_tor: bool = False,
|
||||||
dump_response: bool = False,
|
dump_response: bool = False,
|
||||||
proxy=None,
|
proxy: str = None,
|
||||||
timeout=60,
|
timeout: int = 60,
|
||||||
):
|
):
|
||||||
"""Run Sherlock Analysis.
|
"""Run Sherlock Analysis.
|
||||||
|
|
||||||
|
@ -474,7 +474,7 @@ def sherlock(
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
f"Unknown Error Type '{error_type}' for " f"site '{social_network}'"
|
f"Unknown Error Type '{error_type}' for " f"site '{social_network}'"
|
||||||
)
|
)
|
||||||
|
|
||||||
if dump_response:
|
if dump_response:
|
||||||
print("+++++++++++++++++++++")
|
print("+++++++++++++++++++++")
|
||||||
print(f"TARGET NAME : {social_network}")
|
print(f"TARGET NAME : {social_network}")
|
||||||
|
|
Loading…
Reference in a new issue