diff --git a/qutebrowser/browser/webengine/webenginesettings.py b/qutebrowser/browser/webengine/webenginesettings.py index d453c9a8d..8076df674 100644 --- a/qutebrowser/browser/webengine/webenginesettings.py +++ b/qutebrowser/browser/webengine/webenginesettings.py @@ -17,6 +17,9 @@ # You should have received a copy of the GNU General Public License # along with qutebrowser. If not, see . +# We get various "abstract but not overridden" warnings +# pylint: disable=abstract-method + """Bridge from QWebEngineSettings to our own settings. Module attributes: diff --git a/qutebrowser/browser/webkit/webkitsettings.py b/qutebrowser/browser/webkit/webkitsettings.py index 183c4bf12..d5e718d45 100644 --- a/qutebrowser/browser/webkit/webkitsettings.py +++ b/qutebrowser/browser/webkit/webkitsettings.py @@ -17,6 +17,9 @@ # You should have received a copy of the GNU General Public License # along with qutebrowser. If not, see . +# We get various "abstract but not overridden" warnings +# pylint: disable=abstract-method + """Bridge from QWebSettings to our own settings. Module attributes: diff --git a/qutebrowser/config/websettings.py b/qutebrowser/config/websettings.py index 1677d6053..c366196bb 100644 --- a/qutebrowser/config/websettings.py +++ b/qutebrowser/config/websettings.py @@ -17,6 +17,9 @@ # You should have received a copy of the GNU General Public License # along with qutebrowser. If not, see . +# We get various "abstract but not overridden" warnings +# pylint: disable=abstract-method + """Bridge from QWeb(Engine)Settings to our own settings.""" from qutebrowser.config import config @@ -49,8 +52,8 @@ class Base: the global instance. Return: - A list of QWeb(Engine)Settings objects. The first one should be used - for reading. + A list of QWeb(Engine)Settings objects. The first one should be + used for reading. """ if settings is None: return self._get_global_settings() diff --git a/scripts/dev/run_vulture.py b/scripts/dev/run_vulture.py index ac9192d87..155bd275b 100755 --- a/scripts/dev/run_vulture.py +++ b/scripts/dev/run_vulture.py @@ -162,7 +162,8 @@ def run(files): def main(): parser = argparse.ArgumentParser() - parser.add_argument('files', nargs='*', default=['qutebrowser', 'scripts']) + parser.add_argument('files', nargs='*', default=['qutebrowser', 'scripts', + 'setup.py']) args = parser.parse_args() out = run(args.files) for line in out: