Fix lint
This commit is contained in:
parent
5996651a2f
commit
3443364de1
@ -98,6 +98,7 @@ class Application(QApplication):
|
||||
Args:
|
||||
Argument namespace from argparse.
|
||||
"""
|
||||
# pylint: disable=too-many-statements
|
||||
qt_args = get_qt_args(args)
|
||||
log.init.debug("Qt arguments: {}, based on {}".format(qt_args, args))
|
||||
super().__init__(get_qt_args(args))
|
||||
|
@ -63,7 +63,7 @@ class SettingOptionCompletionModel(BaseCompletionModel):
|
||||
for name, _ in sectdata.items():
|
||||
try:
|
||||
desc = sectdata.descriptions[name]
|
||||
except (KeyError, AttributeError) as e:
|
||||
except (KeyError, AttributeError):
|
||||
# Some stuff (especially ValueList items) don't have a
|
||||
# description.
|
||||
desc = ""
|
||||
|
Loading…
Reference in New Issue
Block a user