Too-few-public-methods warning
Checked, are sensible, disabled pylint warnings.
This commit is contained in:
parent
3d841cf14f
commit
e543144aec
@ -25,6 +25,7 @@ import PyQt4.QtGui
|
||||
|
||||
# TODO description in tooltip
|
||||
# TODO icon
|
||||
# pylint: disable=too-few-public-methods
|
||||
class AppListWidgetItem(PyQt4.QtGui.QListWidgetItem):
|
||||
def __init__(self, name, ident, parent=None):
|
||||
super(AppListWidgetItem, self).__init__(name, parent)
|
||||
|
@ -620,6 +620,7 @@ class VMSettingsWindow(ui_settingsdlg.Ui_SettingsDialog, QtGui.QDialog):
|
||||
for dev in lspci.splitlines():
|
||||
devs.append((dev.rstrip(), dev.split(' ')[0]))
|
||||
|
||||
# pylint: disable=too-few-public-methods
|
||||
class DevListWidgetItem(QtGui.QListWidgetItem):
|
||||
def __init__(self, name, ident, parent=None):
|
||||
super(DevListWidgetItem, self).__init__(name, parent)
|
||||
|
Loading…
Reference in New Issue
Block a user