From fd02b125619524f691bce6519df0ed29eddf985f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 19 Nov 2021 09:03:09 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/PIL/ImageShow.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/PIL/ImageShow.py b/src/PIL/ImageShow.py index 2122ba085..64c5b5924 100644 --- a/src/PIL/ImageShow.py +++ b/src/PIL/ImageShow.py @@ -272,7 +272,9 @@ class CommandViewer(Viewer): """ if "command" not in options: - raise TypeError("CommandViewer missing required keyword-only argument 'command'") + raise TypeError( + "CommandViewer missing required keyword-only argument 'command'" + ) command = options["command"] if not isinstance(command, str): raise TypeError(f"'command' must be 'str' not '{type(command)}'")