From 56d630294c31ea7c1360a9830ad82d9303ea6602 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 15 Dec 2021 20:39:38 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/PIL/Image.py | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/src/PIL/Image.py b/src/PIL/Image.py index 2653c6274..3677cccc3 100644 --- a/src/PIL/Image.py +++ b/src/PIL/Image.py @@ -649,13 +649,16 @@ class Image: # Same as __repr__ but without unpredicatable id(self), # to keep Jupyter notebook `text/plain` output stable. - p.text("<%s.%s image mode=%s size=%dx%d>" % ( - self.__class__.__module__, - self.__class__.__name__, - self.mode, - self.size[0], - self.size[1], - )) + p.text( + "<%s.%s image mode=%s size=%dx%d>" + % ( + self.__class__.__module__, + self.__class__.__name__, + self.mode, + self.size[0], + self.size[1], + ) + ) def _repr_png_(self): """iPython display hook support