Lint cleanups
This commit is contained in:
parent
3d292fbc27
commit
afa9c47867
@ -45,7 +45,7 @@ import qutebrowser.utils.harfbuzz as harfbuzz
|
||||
harfbuzz.fix()
|
||||
|
||||
from PyQt5.QtWidgets import QApplication, QDialog, QMessageBox
|
||||
from PyQt5.QtCore import pyqtSignal, pyqtSlot, QTimer, QEventLoop, QEvent
|
||||
from PyQt5.QtCore import pyqtSlot, QTimer, QEventLoop
|
||||
|
||||
import qutebrowser
|
||||
import qutebrowser.commands.utils as cmdutils
|
||||
|
@ -130,7 +130,7 @@ class ModeManager(QObject):
|
||||
raise ValueError("Mode {} not on mode stack!".format(mode))
|
||||
self.leaved.emit(mode)
|
||||
|
||||
def eventFilter(self, obj, evt):
|
||||
def eventFilter(self, _obj, evt):
|
||||
"""Filter all events based on the currently set mode.
|
||||
|
||||
Also calls the real keypress handler.
|
||||
|
Loading…
Reference in New Issue
Block a user