This commit is contained in:
Florian Bruhin 2014-07-28 21:09:49 +02:00
parent 8d80ce2628
commit 860ef75abc
5 changed files with 4 additions and 6 deletions

View File

@ -37,8 +37,7 @@ import qutebrowser.utils.webelem as webelem
import qutebrowser.browser.quickmarks as quickmarks
import qutebrowser.utils.log as log
import qutebrowser.utils.url as urlutils
from qutebrowser.utils.qt import (check_overflow, check_print_compat,
qt_ensure_valid)
from qutebrowser.utils.qt import check_overflow, check_print_compat
from qutebrowser.utils.editor import ExternalEditor
from qutebrowser.commands.exceptions import CommandError
from qutebrowser.commands.userscripts import UserscriptRunner

View File

@ -24,7 +24,6 @@ import sys
import shutil
import unittest
import os.path
import subprocess
from tempfile import mkdtemp
from PyQt5.QtCore import QStandardPaths, QCoreApplication, Qt

View File

@ -28,6 +28,7 @@ try:
except ImportError:
try:
# Python2
# pylint: disable=import-error
from Tkinter import Tk
import tkMessageBox as messagebox
except ImportError:

View File

@ -20,7 +20,6 @@
"""Other utilities which don't fit anywhere else. """
import os
import re
import sys
import shlex
import os.path

View File

@ -54,8 +54,8 @@ def _parse_docstring(func): # noqa
A (short_desc, long_desc, arg_descs) tuple.
"""
# pylint: disable=too-many-branches
State = enum('State', 'short', 'desc', 'desc_hidden', 'arg_start',
'arg_inside', 'misc')
State = enum('State', 'short', 'desc', # pylint: disable=invalid-name
'desc_hidden', 'arg_start', 'arg_inside', 'misc')
doc = inspect.getdoc(func)
lines = doc.splitlines()