Skip to content

Commit

Permalink
Refactor AWS credentials validation function to specify return type
Browse files Browse the repository at this point in the history
  • Loading branch information
dmux committed Dec 19, 2024
1 parent f6bf1ec commit 4d4bd61
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def _validate_cloudwatch_client(client: Any) -> bool:
return False


def _validate_aws_credentials():
def _validate_aws_credentials() -> None:
try:
boto3.client("sts").get_caller_identity()
except (NoCredentialsError, PartialCredentialsError):
Expand Down

0 comments on commit 4d4bd61

Please sign in to comment.