chore: add typedef
This commit is contained in:
parent
b44ac231c1
commit
435540606e
|
|
@ -6,7 +6,7 @@ from sherlock_project.sites import SitesInformation
|
|||
|
||||
def fetch_local_manifest(honor_exclusions: bool = True) -> dict[str, dict[str, str]]:
|
||||
sites_obj = SitesInformation(data_file_path=os.path.join(os.path.dirname(__file__), "../sherlock_project/resources/data.json"), honor_exclusions=honor_exclusions)
|
||||
sites_iterable = {site.name: site.information for site in sites_obj}
|
||||
sites_iterable: dict[str, dict[str, str]] = {site.name: site.information for site in sites_obj}
|
||||
return sites_iterable
|
||||
|
||||
@pytest.fixture()
|
||||
|
|
|
|||
Loading…
Reference in New Issue