Skip to content

Commit

Permalink
ci: Fix line length errors and make them visible in editors
Browse files Browse the repository at this point in the history
  • Loading branch information
achimnol committed Jan 12, 2018
1 parent 62a4f59 commit 1919722
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion aiotools/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.')
Expand Down

0 comments on commit 1919722

Please sign in to comment.