buildserver: remove pylint comments

This commit is contained in:
Jimmy Zelinskie 2015-02-17 15:32:25 -05:00
parent d70c95e42e
commit 85edb651e2

View file

@ -17,7 +17,6 @@ from buildman.jobutil.buildjob import BuildJob, BuildJobLoadException
from data import database from data import database
from app import app, build_metrics from app import app, build_metrics
# pylint: disable=invalid-name
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
WORK_CHECK_TIMEOUT = 10 WORK_CHECK_TIMEOUT = 10
@ -27,19 +26,16 @@ MINIMUM_JOB_EXTENSION = timedelta(minutes=2)
HEARTBEAT_PERIOD_SEC = 30 HEARTBEAT_PERIOD_SEC = 30
# pylint: disable=too-few-public-methods
class BuildJobResult(object): class BuildJobResult(object):
""" Build job result enum """ """ Build job result enum """
INCOMPLETE = 'incomplete' INCOMPLETE = 'incomplete'
COMPLETE = 'complete' COMPLETE = 'complete'
ERROR = 'error' ERROR = 'error'
# pylint: disable=too-many-instance-attributes
class BuilderServer(object): class BuilderServer(object):
""" Server which handles both HTTP and WAMP requests, managing the full state of the build """ Server which handles both HTTP and WAMP requests, managing the full state of the build
controller. controller.
""" """
# pylint: disable=too-many-arguments
def __init__(self, registry_hostname, queue, build_logs, user_files, lifecycle_manager_klass, def __init__(self, registry_hostname, queue, build_logs, user_files, lifecycle_manager_klass,
lifecycle_manager_config, manager_hostname): lifecycle_manager_config, manager_hostname):
self._loop = None self._loop = None