diff --git a/qutebrowser/commands/utils.py b/qutebrowser/commands/utils.py index 87c927f74..43d394059 100644 --- a/qutebrowser/commands/utils.py +++ b/qutebrowser/commands/utils.py @@ -63,7 +63,8 @@ class CommandParser(QObject): try: self.cmd.check(self.args) except ArgumentCountError: - self.error.emit("{}: invalid argument count".format(self.cmd.mainname)) + self.error.emit("{}: invalid argument count".format( + self.cmd.mainname)) raise def _run(self, count=None): diff --git a/qutebrowser/widgets/browser.py b/qutebrowser/widgets/browser.py index e607e2f76..c72b0aba3 100644 --- a/qutebrowser/widgets/browser.py +++ b/qutebrowser/widgets/browser.py @@ -47,7 +47,8 @@ class TabbedBrowser(TabWidget): lambda *args: self._filter_signals(self.cur_load_started, *args)) # FIXME does QtWebView even do something sensible with that signal? tab.statusBarMessage.connect( - lambda *args: self._filter_signals(self.cur_statusbar_message, *args)) + lambda *args: self._filter_signals(self.cur_statusbar_message, + *args)) tab.scroll_pos_changed.connect(self._scroll_pos_changed_handler) # FIXME should we really bind this to loadStarted? Sometimes the URL # isn't set correctly at this point, e.g. when doing diff --git a/qutebrowser/widgets/completion.py b/qutebrowser/widgets/completion.py index cdfa1f0f3..6979e529f 100644 --- a/qutebrowser/widgets/completion.py +++ b/qutebrowser/widgets/completion.py @@ -29,11 +29,13 @@ class CompletionView(QTreeView): {color[completion.category.fg]} {color[completion.category.bg]} border-top: 1px solid {color[completion.category.border.top]}; - border-bottom: 1px solid {color[completion.category.border.bottom]}; + border-bottom: 1px solid + {color[completion.category.border.bottom]}; }} QTreeView::item:selected {{ border-top: 1px solid {color[completion.item.selected.border.top]}; - border-bottom: 1px solid {color[completion.item.selected.border.bottom]}; + border-bottom: 1px solid + {color[completion.item.selected.border.bottom]}; {color[completion.item.selected.bg]} {color[completion.item.selected.fg]} }} diff --git a/qutebrowser/widgets/mainwindow.py b/qutebrowser/widgets/mainwindow.py index 18816ef6f..aaaf41ca5 100644 --- a/qutebrowser/widgets/mainwindow.py +++ b/qutebrowser/widgets/mainwindow.py @@ -34,7 +34,8 @@ class MainWindow(QMainWindow): self.status.resized.connect(self.completion.resize_to_bar) self.tabs.cur_progress.connect(self.status.prog.set_progress) self.tabs.cur_load_finished.connect(self.status.prog.load_finished) - self.tabs.cur_load_started.connect(lambda: self.status.prog.set_progress(0)) + self.tabs.cur_load_started.connect(lambda: + self.status.prog.set_progress(0)) self.tabs.cur_scroll_perc_changed.connect(self.status.txt.set_perc) self.tabs.cur_statusbar_message.connect(self.status.txt.set_text) self.status.cmd.esc_pressed.connect(self.tabs.setFocus)