From aafe0c581b1f16fc044d432acf2a5b763124cb0a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 2 Mar 2023 20:21:59 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/PIL/EpsImagePlugin.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/PIL/EpsImagePlugin.py b/src/PIL/EpsImagePlugin.py index b9fab424af9..7d45add907b 100644 --- a/src/PIL/EpsImagePlugin.py +++ b/src/PIL/EpsImagePlugin.py @@ -330,7 +330,9 @@ def check_required_header_comments(): # binary/ascii (1: binary, 2: ascii) # data start identifier (the data follows after a single line which solely consists of this quoted value) image_data_values = byte_arr[11:bytes_read].split(None, 7) - columns, rows, bit_depth, mode_id = [int(value) for value in image_data_values[:4]] + columns, rows, bit_depth, mode_id = [ + int(value) for value in image_data_values[:4] + ] if bit_depth == 1: self.mode = "1"