Skip to content

Commit

Permalink
mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
achiar99 committed Oct 25, 2023
1 parent 55da043 commit c6dc45d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion checkov/common/bridgecrew/platform_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ def persist_assets_scan_results(self, assets_report: Optional[Dict[str, Any]]) -
new_report = {'imports': {lang.value: assets}}
persist_assets_results(f'sast_{lang.value}', new_report, self.s3_client, self.bucket, self.repo_path)

def persist_reachability_scan_results(self, reachability_report: Optional[Dict[SastLanguages, Any]]) -> None:
def persist_reachability_scan_results(self, reachability_report: Optional[Dict[str, Any]]) -> None:
if not reachability_report:
return
for lang, report in reachability_report.items():
Expand Down
2 changes: 1 addition & 1 deletion checkov/sast/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def get_formated_reachability_report(reachability_report_dict: Dict[SastLanguage
class SastData:
def __init__(self) -> None:
self.imports_data: Optional[Dict[str, Any]] = None
self.reachability_report: Optional[Dict[SastLanguages, Any]] = None
self.reachability_report: Optional[Dict[str, Any]] = None

def set_imports_data(self, imports_data: Dict[str, Any]) -> None:
self.imports_data = imports_data
Expand Down

0 comments on commit c6dc45d

Please sign in to comment.