Fix lint.

This commit is contained in:
Florian Bruhin 2015-09-19 22:03:56 +02:00
parent 64a6b518dc
commit 5ba7b5cf0f
3 changed files with 4 additions and 2 deletions

View File

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

View File

@ -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'

View File

@ -24,8 +24,6 @@ import sys
import os.path
import subprocess
import pytest
def test_smoke():
if hasattr(sys, 'frozen'):