Fix lint.
This commit is contained in:
parent
64a6b518dc
commit
5ba7b5cf0f
@ -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()):
|
||||
|
@ -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'
|
||||
|
@ -24,8 +24,6 @@ import sys
|
||||
import os.path
|
||||
import subprocess
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
def test_smoke():
|
||||
if hasattr(sys, 'frozen'):
|
||||
|
Loading…
Reference in New Issue
Block a user