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