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):