diff --git a/mindee/parsing/common/summary_helper.py b/mindee/parsing/common/summary_helper.py index 8c91ecbf..7a3e1be0 100644 --- a/mindee/parsing/common/summary_helper.py +++ b/mindee/parsing/common/summary_helper.py @@ -22,7 +22,7 @@ def format_for_display( """Truncates line-items to the max width of their corresponding column.""" if not out_string or len(out_string) == 0: return "" - out_string = out_string.replace('\n', '\\n') + out_string = out_string.replace("\n", "\\n") if max_col_size is None: return out_string return ( diff --git a/mindee/product/fr/payslip/payslip_v2_employee.py b/mindee/product/fr/payslip/payslip_v2_employee.py index 61ea572b..be4d393c 100644 --- a/mindee/product/fr/payslip/payslip_v2_employee.py +++ b/mindee/product/fr/payslip/payslip_v2_employee.py @@ -57,7 +57,9 @@ def _printable_values(self) -> Dict[str, str]: out_dict["last_name"] = format_for_display(self.last_name) out_dict["phone_number"] = format_for_display(self.phone_number) out_dict["registration_number"] = format_for_display(self.registration_number) - out_dict["social_security_number"] = format_for_display(self.social_security_number) + out_dict["social_security_number"] = format_for_display( + self.social_security_number + ) return out_dict def to_field_list(self) -> str: diff --git a/mindee/product/fr/payslip/payslip_v2_employment.py b/mindee/product/fr/payslip/payslip_v2_employment.py index d30c3bb0..52fb9732 100644 --- a/mindee/product/fr/payslip/payslip_v2_employment.py +++ b/mindee/product/fr/payslip/payslip_v2_employment.py @@ -55,7 +55,9 @@ def _printable_values(self) -> Dict[str, str]: out_dict: Dict[str, str] = {} out_dict["category"] = format_for_display(self.category) out_dict["coefficient"] = float_to_string(self.coefficient) - out_dict["collective_agreement"] = format_for_display(self.collective_agreement) + out_dict["collective_agreement"] = format_for_display( + self.collective_agreement + ) out_dict["job_title"] = format_for_display(self.job_title) out_dict["position_level"] = format_for_display(self.position_level) out_dict["start_date"] = format_for_display(self.start_date) diff --git a/mindee/product/us/us_mail/us_mail_v2_recipient_address.py b/mindee/product/us/us_mail/us_mail_v2_recipient_address.py index 1a9e0343..6a59df10 100644 --- a/mindee/product/us/us_mail/us_mail_v2_recipient_address.py +++ b/mindee/product/us/us_mail/us_mail_v2_recipient_address.py @@ -60,7 +60,9 @@ def _printable_values(self) -> Dict[str, str]: out_dict["complete"] = format_for_display(self.complete) out_dict["is_address_change"] = bool_to_string(self.is_address_change) out_dict["postal_code"] = format_for_display(self.postal_code) - out_dict["private_mailbox_number"] = format_for_display(self.private_mailbox_number) + out_dict["private_mailbox_number"] = format_for_display( + self.private_mailbox_number + ) out_dict["state"] = format_for_display(self.state) out_dict["street"] = format_for_display(self.street) return out_dict