9
9
# should be built.
10
10
class DocumentConfig :
11
11
def __init__ (self ):
12
- super (DocumentConfig , self ).__init__ ()
12
+ super ().__init__ ()
13
13
14
14
# name of document
15
15
self .name = ""
@@ -27,7 +27,7 @@ def __init__(self):
27
27
class Document :
28
28
# initialize with a DocumentConfig
29
29
def __init__ (self , cfg ):
30
- super (Document , self ).__init__ ()
30
+ super ().__init__ ()
31
31
32
32
# configuration - DocumentConfig
33
33
self .cfg = cfg
@@ -63,7 +63,7 @@ def __init__(self, cfg):
63
63
# be built.
64
64
class PackageConfig :
65
65
def __init__ (self ):
66
- super (PackageConfig , self ).__init__ ()
66
+ super ().__init__ ()
67
67
68
68
# package name
69
69
self .name = ""
@@ -106,7 +106,7 @@ class Package:
106
106
# 1) PackageConfig
107
107
# 2) the Document that owns this Package
108
108
def __init__ (self , cfg , doc ):
109
- super (Package , self ).__init__ ()
109
+ super ().__init__ ()
110
110
111
111
# configuration - PackageConfig
112
112
self .cfg = cfg
@@ -153,7 +153,7 @@ class RelationshipDataElementType(Enum):
153
153
# Relationship after we have organized the SPDX Package and File data.
154
154
class RelationshipData :
155
155
def __init__ (self ):
156
- super (RelationshipData , self ).__init__ ()
156
+ super ().__init__ ()
157
157
158
158
# for the "owner" element (e.g., the left side of the Relationship),
159
159
# is it a filename or a target name (e.g., a Package in the build doc)
@@ -191,7 +191,7 @@ def __init__(self):
191
191
# Document's context.
192
192
class Relationship :
193
193
def __init__ (self ):
194
- super (Relationship , self ).__init__ ()
194
+ super ().__init__ ()
195
195
196
196
# SPDX ID for left side of relationship
197
197
# including "SPDXRef-" as well as "DocumentRef-" if needed
@@ -213,7 +213,7 @@ class File:
213
213
# 1) Document containing this File
214
214
# 2) Package containing this File
215
215
def __init__ (self , doc , pkg ):
216
- super (File , self ).__init__ ()
216
+ super ().__init__ ()
217
217
218
218
# absolute path to this file on disk
219
219
self .abspath = ""
0 commit comments