Skip to content

Commit

Permalink
linting and test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kartikp10 committed Oct 11, 2023
1 parent d7681d9 commit 45fd535
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 @@ -1129,7 +1129,7 @@ def get_sso_prismacloud_url(self, report_url: str) -> str:

return report_url

def setup_on_prem(self):
def setup_on_prem(self) -> None:
if self.customer_run_config_response:
self.on_prem = self.customer_run_config_response.get('onPrem', False)

Expand Down
2 changes: 1 addition & 1 deletion checkov/common/bridgecrew/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def _extract_checks_metadata(report: Report, full_repo_object_key: str, on_prem:
return metadata


def reduce_scan_reports(scan_reports: list[Report], on_prem: bool) -> dict[str, _ReducedScanReport]:
def reduce_scan_reports(scan_reports: list[Report], on_prem: Optional[bool] = False) -> dict[str, _ReducedScanReport]:
"""
Transform checkov reports objects into compact dictionaries
:param scan_reports: List of checkov output reports
Expand Down

0 comments on commit 45fd535

Please sign in to comment.