Skip to content

Commit

Permalink
Reduce flake8 max-line-length
Browse files Browse the repository at this point in the history
  • Loading branch information
kumar0022 committed Mar 5, 2024
1 parent 86a05dd commit 424c42d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 6 additions & 2 deletions parsl/monitoring/monitoring.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 424c42d

Please sign in to comment.