Fix lint
This commit is contained in:
parent
d9213ecf17
commit
33043f0f6c
@ -175,7 +175,7 @@ class Command:
|
|||||||
signature = inspect.signature(self.handler)
|
signature = inspect.signature(self.handler)
|
||||||
has_count = 'count' in signature.parameters
|
has_count = 'count' in signature.parameters
|
||||||
if has_count and (signature.parameters['count'].default is
|
if has_count and (signature.parameters['count'].default is
|
||||||
inspect.Parameter.empty):
|
inspect.Parameter.empty):
|
||||||
raise TypeError("{}: handler has count parameter without "
|
raise TypeError("{}: handler has count parameter without "
|
||||||
"default!".format(self.name))
|
"default!".format(self.name))
|
||||||
doc = inspect.getdoc(self.handler)
|
doc = inspect.getdoc(self.handler)
|
||||||
|
@ -568,6 +568,7 @@ def get_repr(obj, constructor=False, **attrs):
|
|||||||
else:
|
else:
|
||||||
return '<{}>'.format(cls)
|
return '<{}>'.format(cls)
|
||||||
|
|
||||||
|
|
||||||
def qualname(obj):
|
def qualname(obj):
|
||||||
"""Get the fully qualified name of an object.
|
"""Get the fully qualified name of an object.
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ from PyQt5.QtWidgets import QListView, QSizePolicy, QMenu
|
|||||||
|
|
||||||
from qutebrowser.browser import downloads
|
from qutebrowser.browser import downloads
|
||||||
from qutebrowser.config import style
|
from qutebrowser.config import style
|
||||||
from qutebrowser.utils import qtutils, utils, objreg, log
|
from qutebrowser.utils import qtutils, utils, objreg
|
||||||
|
|
||||||
|
|
||||||
def update_geometry(obj):
|
def update_geometry(obj):
|
||||||
|
Loading…
Reference in New Issue
Block a user