diff --git a/parsons/databases/redshift/redshift.py b/parsons/databases/redshift/redshift.py index 28548f5eb3..c2c7c33212 100644 --- a/parsons/databases/redshift/redshift.py +++ b/parsons/databases/redshift/redshift.py @@ -293,7 +293,7 @@ def copy_s3( bucket_region=None, strict_length=True, template_table=None, - encoding='utf-8' + encoding="utf-8", ): """ Copy a file from s3 to Redshift. @@ -411,8 +411,9 @@ def copy_s3( local_path = s3.get_file(bucket, key) if data_type == "csv": - tbl = Table.from_csv(local_path, delimiter=csv_delimiter, - encoding=encoding) + tbl = Table.from_csv( + local_path, delimiter=csv_delimiter, encoding=encoding + ) else: raise TypeError("Invalid data type provided")