Fix lint
This commit is contained in:
parent
5f5f202098
commit
89650d89f1
@ -1,6 +1,6 @@
|
||||
# This file is automatically generated by scripts/dev/recompile_requirements.py
|
||||
|
||||
colorama==0.4.0
|
||||
colorama==0.4.1
|
||||
cssutils==1.0.2
|
||||
hunter==2.1.0
|
||||
Pympler==0.6
|
||||
|
@ -44,7 +44,8 @@ from qutebrowser.browser import mouse, hints, webelem
|
||||
from qutebrowser.qt import sip
|
||||
MYPY = False
|
||||
if MYPY:
|
||||
# pylint: disable=unused-import
|
||||
# pylint can't interpret type comments with Python 3.7
|
||||
# pylint: disable=unused-import,useless-suppression
|
||||
from qutebrowser.browser.inspector import AbstractWebInspector
|
||||
|
||||
|
||||
|
@ -29,7 +29,12 @@ from PyQt5.QtCore import (pyqtSlot, pyqtSignal, QCoreApplication, QUrl,
|
||||
from PyQt5.QtNetwork import QNetworkAccessManager, QNetworkReply, QSslSocket
|
||||
|
||||
from qutebrowser.config import config
|
||||
from qutebrowser.mainwindow import prompt # pylint: disable=unused-import
|
||||
|
||||
MYPY = False
|
||||
if MYPY:
|
||||
# pylint can't interpret type comments with Python 3.7
|
||||
# pylint: disable=unused-import,useless-suppression
|
||||
from qutebrowser.mainwindow import prompt
|
||||
from qutebrowser.utils import (message, log, usertypes, utils, objreg,
|
||||
urlutils, debug)
|
||||
from qutebrowser.browser import shared
|
||||
|
@ -42,8 +42,6 @@ class Sentinel:
|
||||
|
||||
"""Sentinel value for default argument."""
|
||||
|
||||
pass
|
||||
|
||||
|
||||
default = Sentinel()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user