Skip to content

Commit

Permalink
Lint line lengths
Browse files Browse the repository at this point in the history
  • Loading branch information
NotSqrt committed Oct 18, 2018
1 parent d23078b commit 5d852d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cola/actions.py
Expand Up @@ -20,7 +20,8 @@ def launch_editor(context, widget, *shortcuts):
"""Create a QAction to launch an editor"""
icon = icons.edit()
cmd = cmds.LaunchEditor
action = qtutils.add_action(widget, cmd.name(), cmds.run(cmd, context, widget),
action = qtutils.add_action(widget, cmd.name(),
cmds.run(cmd, context, widget),
*shortcuts)
action.setIcon(icon)
return action
Expand Down
4 changes: 3 additions & 1 deletion cola/cmds.py
Expand Up @@ -1346,7 +1346,9 @@ def __init__(self, context, widget=None):
break

super(LaunchEditor, self).__init__(
context, filenames, background_editor=True, line_number=line_number)
context, filenames, background_editor=True,
line_number=line_number
)


class LoadCommitMessageFromFile(ContextCommand):
Expand Down

0 comments on commit 5d852d9

Please sign in to comment.