The pre_run_checks has its check_s3_credentials argument set to True by default, so it always checks for S3 upload details.
That's normally not a problem, but when testing locally and S3 credentials aren't available, it raises botocore.exceptions.NoCredentialsError without catching it.
If there isn't an upload block, this should behave similarly to an error with existing credentials (i.e., warnings.warn("YAML contains no upload block - continuing")
The pre_run_checks has its check_s3_credentials argument set to True by default, so it always checks for S3 upload details. That's normally not a problem, but when testing locally and S3 credentials aren't available, it raises
botocore.exceptions.NoCredentialsError
without catching it. If there isn't an upload block, this should behave similarly to an error with existing credentials (i.e.,warnings.warn("YAML contains no upload block - continuing")