
Enabling automatic pylint with tox and zull for each new patchset. Test plan: PASS: Run "tox -e pylint" in the terminal, this will: - Run pylint in all python files - Show the report Story: 2005051 Task: 47900 Change-Id: I2f66a5f72e3f8746c00aae96287ad3e4edb88e28 Signed-off-by: Lindley Werner <lindley.vieira@encora.com>
23 lines
558 B
Python
23 lines
558 B
Python
#!/usr/bin/python3
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
"""
|
|
This module contains the HostTimeout class, which provides timeout values (in seconds)
|
|
for various operations on a host.
|
|
"""
|
|
|
|
class HostTimeout: #pylint: disable=too-few-public-methods
|
|
"""The `HostTimeout` class provides timeout values (in seconds) for various
|
|
operations on a host."""
|
|
|
|
CONTROLLER_UNLOCK = 3600+1800
|
|
REBOOT = 900
|
|
INSTALL = 3600
|
|
LAB_INSTALL = 3600
|
|
HOST_INSTALL = 3600
|
|
LAB_CONFIG = 5400
|
|
INSTALL_PATCHES = 900
|
|
NETWORKING_OPERATIONAL = 60
|