Skip to content

Commit

Permalink
code style fix nexB#598
Browse files Browse the repository at this point in the history
Signed-off-by: 404-geek <pranayd61@gmail.com>
  • Loading branch information
404-geek committed Jun 26, 2024
1 parent 173db43 commit 272b99c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scanpipe/pipes/ScoreCode.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
if SCORECARD_URL:
SCORECARD_API_URL = f'{SCORECARD_URL.rstrip("/")}/projects/'


def is_configured():
"""Return True if the required Scorecard settings have been set."""
if SCORECARD_API_URL:
Expand All @@ -56,4 +57,4 @@ def is_available():
logger.debug(f"{label} is_available() error: {request_exception}")
return False

return response.status_code == requests.codes.ok
return response.status_code == requests.codes.ok

0 comments on commit 272b99c

Please sign in to comment.