Removed explicit inheritance from object

All python classes already inherit from object implicitly.
There is no need to keep it there.

Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: Ic56242fc20ef27e4b96b09319280e87db130e4cb
This commit is contained in:
Jiri Podivin 2021-01-22 16:07:39 +01:00
parent a0db6e4892
commit a68b40af2d
5 changed files with 5 additions and 5 deletions

View File

@ -44,7 +44,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

@ -26,7 +26,7 @@ from validations_libs import utils as v_utils
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,