Skip to content

Commit

Permalink
Fix type hint
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
  • Loading branch information
arthurscchan committed Jan 16, 2024
1 parent 9791dc0 commit 1d34498
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fuzz_introspector/analyses/sinks_analyser.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

from bs4 import BeautifulSoup as bs

from typing import (Any, List, Tuple, Dict)
from typing import (Any, List, Tuple, Dict, Optional)

from fuzz_introspector import (analysis, code_coverage, constants, cfg_load,
html_helpers, json_report, utils)
Expand Down Expand Up @@ -399,7 +399,7 @@ def _handle_callpath_dict(
List[List[function_profile.FunctionProfile]]],
proj_profile: project_profile.MergedProjectProfile,
target_func: function_profile.FunctionProfile,
target_lang: str) -> str:
target_lang: str) -> Optional[str]:
"""
Pretty print index of callpath and generate
also generate separate html page for displaying
Expand Down

0 comments on commit 1d34498

Please sign in to comment.