Adding # pylint: disable=too-few-public-methods
This commit is contained in:
parent
4aea47c9f7
commit
60af90ec5f
@ -45,6 +45,7 @@ import os
|
||||
import asyncio
|
||||
from contextlib import suppress
|
||||
|
||||
# pylint: disable=too-few-public-methods
|
||||
class BackupThread(QtCore.QThread):
|
||||
def __init__(self, vm):
|
||||
QtCore.QThread.__init__(self)
|
||||
|
@ -24,6 +24,7 @@ from PyQt4 import QtCore # pylint: disable=import-error
|
||||
from qubesadmin import exc
|
||||
|
||||
|
||||
# pylint: disable=too-few-public-methods
|
||||
class RemoveVMThread(QtCore.QThread):
|
||||
def __init__(self, vm):
|
||||
QtCore.QThread.__init__(self)
|
||||
@ -37,6 +38,7 @@ class RemoveVMThread(QtCore.QThread):
|
||||
self.error = ("Error removing Qube!", str(ex))
|
||||
|
||||
|
||||
# pylint: disable=too-few-public-methods
|
||||
class CloneVMThread(QtCore.QThread):
|
||||
def __init__(self, src_vm, dst_name):
|
||||
QtCore.QThread.__init__(self)
|
||||
|
@ -34,6 +34,7 @@ from . import utils
|
||||
|
||||
from .ui_newappvmdlg import Ui_NewVMDlg # pylint: disable=import-error
|
||||
|
||||
# pylint: disable=too-few-public-methods
|
||||
class CreateVMThread(QtCore.QThread):
|
||||
def __init__(self, app, vmclass, name, label, template, properties):
|
||||
QtCore.QThread.__init__(self)
|
||||
|
@ -243,6 +243,7 @@ class VmShutdownMonitor(QtCore.QObject):
|
||||
self.restart_vm_if_needed()
|
||||
|
||||
|
||||
# pylint: disable=too-few-public-methods
|
||||
class StartVMThread(QtCore.QThread):
|
||||
def __init__(self, vm):
|
||||
QtCore.QThread.__init__(self)
|
||||
@ -256,6 +257,7 @@ class StartVMThread(QtCore.QThread):
|
||||
self.error = ("Error starting Qube!", str(ex))
|
||||
|
||||
|
||||
# pylint: disable=too-few-public-methods
|
||||
class UpdateVMThread(QtCore.QThread):
|
||||
def __init__(self, vm):
|
||||
QtCore.QThread.__init__(self)
|
||||
@ -276,6 +278,7 @@ class UpdateVMThread(QtCore.QThread):
|
||||
self.error = ("Error on Qube update!", str(ex))
|
||||
|
||||
|
||||
# pylint: disable=too-few-public-methods
|
||||
class RunCommandThread(QtCore.QThread):
|
||||
def __init__(self, vm, command_to_run):
|
||||
QtCore.QThread.__init__(self)
|
||||
|
@ -43,6 +43,7 @@ from qubesadmin import Qubes, exc
|
||||
from qubesadmin.backup import restore
|
||||
|
||||
|
||||
# pylint: disable=too-few-public-methods
|
||||
class RestoreThread(QtCore.QThread):
|
||||
def __init__(self, backup_restore, vms_to_restore):
|
||||
QtCore.QThread.__init__(self)
|
||||
|
@ -46,7 +46,7 @@ from PyQt4 import QtCore, QtGui # pylint: disable=import-error
|
||||
|
||||
from . import ui_settingsdlg # pylint: disable=no-name-in-module
|
||||
|
||||
|
||||
# pylint: disable=too-few-public-methods
|
||||
class RenameVMThread(QtCore.QThread):
|
||||
def __init__(self, vm, new_vm_name, dependencies):
|
||||
QtCore.QThread.__init__(self)
|
||||
@ -92,6 +92,7 @@ class RenameVMThread(QtCore.QThread):
|
||||
self.error = ("Rename error!", repr(ex))
|
||||
|
||||
|
||||
# pylint: disable=too-few-public-methods
|
||||
class RefreshAppsVMThread(QtCore.QThread):
|
||||
def __init__(self, vm):
|
||||
QtCore.QThread.__init__(self)
|
||||
|
Loading…
Reference in New Issue
Block a user