diff --git a/qutebrowser/mainwindow/tabwidget.py b/qutebrowser/mainwindow/tabwidget.py index 5d2e67dc9..893af0748 100644 --- a/qutebrowser/mainwindow/tabwidget.py +++ b/qutebrowser/mainwindow/tabwidget.py @@ -404,6 +404,8 @@ class TabBar(QTabBar): def paintEvent(self, _e): """Override paintEvent to draw the tabs like we want to.""" + # pylint: disable=bad-config-call + # WORKAROUND for https://bitbucket.org/logilab/astroid/issue/104 p = QStylePainter(self) selected = self.currentIndex() for idx in range(self.count()): diff --git a/scripts/dev/freeze.py b/scripts/dev/freeze.py index cad260092..cc469e7af 100755 --- a/scripts/dev/freeze.py +++ b/scripts/dev/freeze.py @@ -86,6 +86,7 @@ def get_build_exe_options(skip_html=False): def get_exe(base, target_name): + """Get the qutebrowser cx.Executable to build.""" return cx.Executable('qutebrowser/__main__.py', base=base, targetName=target_name, shortcutName='qutebrowser', shortcutDir='ProgramMenuFolder', @@ -94,6 +95,7 @@ def get_exe(base, target_name): def main(): + """Main entry point.""" if sys.platform.startswith('win'): base = 'Win32GUI' target_name = 'qutebrowser.exe' diff --git a/tests/integration/test_smoke.py b/tests/integration/test_smoke.py index d7eea2b97..af3e165cb 100644 --- a/tests/integration/test_smoke.py +++ b/tests/integration/test_smoke.py @@ -24,8 +24,6 @@ import sys import os.path import subprocess -import pytest - def test_smoke(): if hasattr(sys, 'frozen'):