mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-03-23 09:55:06 +00:00
Pylint: abide by useless-object-inheritance warnings
Inheriting from object is a remainder of Python 2 habits and is just clutter in Python 3. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
558e26dbda
commit
b5847d20d3
|
@ -29,7 +29,7 @@ from types import SimpleNamespace
|
||||||
import xml.etree.ElementTree as ET
|
import xml.etree.ElementTree as ET
|
||||||
|
|
||||||
|
|
||||||
class AbiChecker(object):
|
class AbiChecker:
|
||||||
"""API and ABI checker."""
|
"""API and ABI checker."""
|
||||||
|
|
||||||
def __init__(self, old_version, new_version, configuration):
|
def __init__(self, old_version, new_version, configuration):
|
||||||
|
|
|
@ -17,7 +17,7 @@ import codecs
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
|
||||||
class FileIssueTracker(object):
|
class FileIssueTracker:
|
||||||
"""Base class for file-wide issue tracking.
|
"""Base class for file-wide issue tracking.
|
||||||
|
|
||||||
To implement a checker that processes a file as a whole, inherit from
|
To implement a checker that processes a file as a whole, inherit from
|
||||||
|
@ -188,7 +188,7 @@ class MergeArtifactIssueTracker(LineIssueTracker):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
class IntegrityChecker(object):
|
class IntegrityChecker:
|
||||||
"""Sanity-check files under the current directory."""
|
"""Sanity-check files under the current directory."""
|
||||||
|
|
||||||
def __init__(self, log_file):
|
def __init__(self, log_file):
|
||||||
|
|
Loading…
Reference in a new issue