diff --git a/.editorconfig b/.editorconfig index 4d2220a..60f85d7 100644 --- a/.editorconfig +++ b/.editorconfig @@ -4,6 +4,9 @@ root = true end_of_line = lf insert_final_newline = true +[*.py] +max_line_length = 85 + [*.{py,rst,md}] indent_style = space indent_size = 4 diff --git a/aiotools/server.py b/aiotools/server.py index 52fd806..c324ed6 100644 --- a/aiotools/server.py +++ b/aiotools/server.py @@ -253,7 +253,7 @@ def handle_stop_signal(): mainloop.add_signal_handler(signum, handle_stop_signal) # build a reliable worker-to-main interrupt channel using a pipe - # (workers have no idea whether interrupt is enabled/disabled in the main program) + # (workers have no idea whether the main interrupt is enabled/disabled) def handle_child_interrupt(fd): child_idx = struct.unpack('i', os.read(fd, 4))[0] # noqa log.debug(f'Child {child_idx} has interrupted the main program.')