summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2018-05-03 15:18:21 +0200
committerFlorian Bruhin <git@the-compiler.org>2018-05-03 15:18:21 +0200
commit626abd3c83b3a985774d2065673f405ea4f1939d (patch)
treecfa6eb75f0e09628c99f4d0e99dc645a99fb65f2
parent979b7cfaba13fa064d96594390c4239a0e3e80c1 (diff)
downloadqutebrowser-626abd3c83b3a985774d2065673f405ea4f1939d.tar.gz
qutebrowser-626abd3c83b3a985774d2065673f405ea4f1939d.zip
Fix lint
-rw-r--r--qutebrowser/browser/greasemonkey.py2
-rw-r--r--qutebrowser/mainwindow/statusbar/command.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/qutebrowser/browser/greasemonkey.py b/qutebrowser/browser/greasemonkey.py
index 468f123d3..578830793 100644
--- a/qutebrowser/browser/greasemonkey.py
+++ b/qutebrowser/browser/greasemonkey.py
@@ -171,7 +171,7 @@ class GreasemonkeyMatcher:
return fnmatch.fnmatch(self._url_string, pattern)
def matches(self, script):
- """Check whether the URL matches filtering rules of the given script."""
+ """Check whether the URL matches filtering rules of the script."""
assert self.is_greaseable
matching_includes = any(self._match_pattern(pat)
for pat in script.includes)
diff --git a/qutebrowser/mainwindow/statusbar/command.py b/qutebrowser/mainwindow/statusbar/command.py
index c0e3e095d..bb5c60b38 100644
--- a/qutebrowser/mainwindow/statusbar/command.py
+++ b/qutebrowser/mainwindow/statusbar/command.py
@@ -273,8 +273,8 @@ class Command(misc.MinimalLineEditMixin, misc.CommandLineEdit):
width = self.fontMetrics().width(text)
return QSize(width, height)
- @pyqtSlot(str)
- def _incremental_search(self, text):
+ @pyqtSlot()
+ def _incremental_search(self):
if not config.val.search.incremental:
return