eric7/CycloneDXInterface/CycloneDXConfigDialog.py

branch
eric7
changeset 9122
ddf8ed8f7387
parent 9119
5bcdef5207f6
child 9141
7085ece52151
equal deleted inserted replaced
9121:6ac528d4f318 9122:ddf8ed8f7387
139 """ 139 """
140 Public method to get the SBOM configuration data. 140 Public method to get the SBOM configuration data.
141 141
142 @return tuple containing the input source, the input file name, the 142 @return tuple containing the input source, the input file name, the
143 file format, the schema version, the path of the SBOM file to be 143 file format, the schema version, the path of the SBOM file to be
144 written and a flag indicating to include vulnerability information 144 written, a flag indicating to include vulnerability information
145 @rtype tuple of (str, str, str, str, str, bool) 145 and a flag indicating to include dependency information
146 @rtype tuple of (str, str, str, str, str, bool, bool)
146 """ 147 """
147 if self.environmentButton.isChecked(): 148 if self.environmentButton.isChecked():
148 inputSource = "environment" 149 inputSource = "environment"
149 inputFile = None 150 inputFile = None
150 elif self.pipenvButton.isChecked(): 151 elif self.pipenvButton.isChecked():
184 sbomFile = None 185 sbomFile = None
185 186
186 return ( 187 return (
187 inputSource, inputFile, fileFormat, schemaVersion, sbomFile, 188 inputSource, inputFile, fileFormat, schemaVersion, sbomFile,
188 self.vulnerabilityCheckBox.isChecked(), 189 self.vulnerabilityCheckBox.isChecked(),
190 self.dependenciesCheckBox.isChecked(),
189 ) 191 )

eric ide

mercurial