From 4ad9b7e02e29532480f14d96f48ad547249b1d58 Mon Sep 17 00:00:00 2001 From: dalthviz <16781833+dalthviz@users.noreply.github.com> Date: Tue, 30 Jul 2024 16:58:51 -0500 Subject: [PATCH] Fix code style --- spyder_kernels/console/outstream.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spyder_kernels/console/outstream.py b/spyder_kernels/console/outstream.py index ea6c9ea2..78ce38b4 100644 --- a/spyder_kernels/console/outstream.py +++ b/spyder_kernels/console/outstream.py @@ -47,7 +47,9 @@ def _flush(self): # to deal with issues such as spyder-ide/spyder#22181 filter_messages = ["Parent poll failed."] - if data and not any([message in data for message in filter_messages]): + if data and not any( + [message in data for message in filter_messages] + ): # FIXME: this disables Session's fork-safe check, # since pub_thread is itself fork-safe. # There should be a better way to do this.