From 5feee871ac60dbd2ec67fe1a871b35570a467b53 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 7 Jul 2014 12:00:51 +0200 Subject: [PATCH] Fix lint --- qutebrowser/browser/webpage.py | 1 + scripts/run_checks.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/qutebrowser/browser/webpage.py b/qutebrowser/browser/webpage.py index 9227feaac..8934e8160 100644 --- a/qutebrowser/browser/webpage.py +++ b/qutebrowser/browser/webpage.py @@ -68,6 +68,7 @@ class BrowserPage(QWebPage): if PYQT_VERSION > 0x050300: # This is broken in Qt <= 5.3.0. # See http://www.riverbankcomputing.com/pipermail/pyqt/2014-June/034385.html + # pylint: disable=invalid-name self.javaScriptPrompt = self._javascript_prompt def _javascript_prompt(self, _frame, msg, default): diff --git a/scripts/run_checks.py b/scripts/run_checks.py index 096bf54a5..855d87caf 100755 --- a/scripts/run_checks.py +++ b/scripts/run_checks.py @@ -74,8 +74,8 @@ options = { if os.name == 'nt': # pep257 uses cp1252 by default on Windows, which can't handle the unicode - # arrows in configdata.py - options['exclude_pep257'].append('configdata.py') + # chars in some files. + options['exclude_pep257'] += ['configdata.py', 'misc.py'] def run(name, target=None, args=None):