*: pylint: Don't inherit from 'object'

- This was required in Python 2 but useless in Python 3.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2022-07-04 19:46:15 -04:00
1 parent c73f88b925
commit bfa11beb73
6 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -89,7 +89,7 @@ def is_user_admin(request, cached=False):
return user_is_admin
class YAMLFile(object):
class YAMLFile:
"""A context management class for updating YAML files"""
def __init__(self, yaml_file):