Merge "Removed explicit inheritance from object"

This commit is contained in:
Zuul 2022-04-28 21:27:32 +00:00 committed by Gerrit Code Review
commit 69cd8a4973
5 changed files with 5 additions and 5 deletions

View File

@ -45,7 +45,7 @@ except pkg_resources.DistributionNotFound:
BACKWARD_COMPAT = False
class Ansible(object):
class Ansible:
"""An Object for encapsulating an Ansible execution"""
def __init__(self, uuid=None):

View File

@ -19,7 +19,7 @@ import yaml
LOG = logging.getLogger(__name__ + ".Group")
class Group(object):
class Group:
"""An object for encapsulating the groups of validation
The validations can be grouped together by specifying a ``groups``

View File

@ -21,7 +21,7 @@ from collections import OrderedDict
LOG = logging.getLogger(__name__ + ".validation")
class Validation(object):
class Validation:
"""An object for encapsulating a validation
Each validation is an `Ansible` playbook. Each playbook have some

View File

@ -29,7 +29,7 @@ from validations_libs.exceptions import ValidationRunException, ValidationShowEx
LOG = logging.getLogger(__name__ + ".validation_actions")
class ValidationActions(object):
class ValidationActions:
"""An object for encapsulating the Validation Actions
This class allows the possibility to execute the following actions:

View File

@ -24,7 +24,7 @@ from validations_libs import constants
LOG = logging.getLogger(__name__ + ".validation_logs")
class ValidationLog(object):
class ValidationLog:
"""An object for encapsulating a Validation Log file"""
def __init__(self, uuid=None, validation_id=None, logfile=None,