Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
dalthviz committed Jul 30, 2024
1 parent 9e46b15 commit 4ad9b7e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spyder_kernels/console/outstream.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4ad9b7e

Please sign in to comment.