diff --git a/flytekit/remote/remote.py b/flytekit/remote/remote.py index 0eaf16e28a..02bd483cdc 100644 --- a/flytekit/remote/remote.py +++ b/flytekit/remote/remote.py @@ -747,7 +747,9 @@ def upload_file( upload_location.signed_url, data=content, headers={"Content-Length": str(content_length), "Content-MD5": encoded_md5}, - verify=False if self._config.platform.insecure_skip_verify == True else self._config.platform.ca_cert_file_path, + verify=False + if self._config.platform.insecure_skip_verify is True + else self._config.platform.ca_cert_file_path, ) if rsp.status_code != requests.codes["OK"]: