Skip to content

Comply with PEP 561 #2277

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added sherlock_project/py.typed
Empty file.
11 changes: 6 additions & 5 deletions sherlock_project/sherlock.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
from argparse import ArgumentParser, RawDescriptionHelpFormatter
from json import loads as json_loads
from time import monotonic
from typing import Optional

import requests
from requests_futures.sessions import FuturesSession
Expand Down Expand Up @@ -167,14 +168,14 @@ def multiple_usernames(username):


def sherlock(
username,
site_data,
username: str,
site_data: dict,
query_notify: QueryNotify,
tor: bool = False,
unique_tor: bool = False,
dump_response: bool = False,
proxy=None,
timeout=60,
proxy: Optional[str] = None,
timeout: int = 60,
):
"""Run Sherlock Analysis.

Expand Down Expand Up @@ -474,7 +475,7 @@ def sherlock(
raise ValueError(
f"Unknown Error Type '{error_type}' for " f"site '{social_network}'"
)

if dump_response:
print("+++++++++++++++++++++")
print(f"TARGET NAME : {social_network}")
Expand Down