From 424c42de77381afbe950631c250fd99a05b13fee Mon Sep 17 00:00:00 2001 From: error-4u Date: Tue, 5 Mar 2024 17:48:31 +0530 Subject: [PATCH] Reduce flake8 max-line-length --- .flake8 | 2 +- parsl/monitoring/monitoring.py | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.flake8 b/.flake8 index 0bdf7825f5..c2f6336190 100644 --- a/.flake8 +++ b/.flake8 @@ -8,7 +8,7 @@ # W504: line break after binary operator # (Raised by flake8 even when it is followed) ignore = E126, E402, E129, W504 -max-line-length = 153 +max-line-length = 152 exclude = test_import_fail.py, parsl/executors/workqueue/parsl_coprocess.py # E741 disallows ambiguous single letter names which look like numbers diff --git a/parsl/monitoring/monitoring.py b/parsl/monitoring/monitoring.py index 8acc40b70f..b6a168cff2 100644 --- a/parsl/monitoring/monitoring.py +++ b/parsl/monitoring/monitoring.py @@ -290,8 +290,12 @@ def close(self) -> None: self._dfk_channel.close() if exception_msgs: for exception_msg in exception_msgs: - self.logger.error("{} process delivered an exception: {}. Terminating all monitoring processes immediately.".format(exception_msg[0], - exception_msg[1])) + self.logger.error( + "{} process delivered an exception: {}. Terminating all monitoring processes immediately.".format( + exception_msg[0], + exception_msg[1] + ) + ) self.router_proc.terminate() self.dbm_proc.terminate() self.filesystem_proc.terminate()