Skip to content

Commit

Permalink
fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyharrison committed May 15, 2023
1 parent c972e5a commit 9740e51
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions sbomdiff/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
import textwrap
from collections import ChainMap

from sbomdiff.cyclonedx_parser import CycloneDXParser
from lib4sbom.output import SBOMOutput

from sbomdiff.cyclonedx_parser import CycloneDXParser
from sbomdiff.spdx_parser import SPDXParser
from sbomdiff.version import VERSION

Expand Down Expand Up @@ -158,8 +159,8 @@ def main(argv=None):
version2 = "UNKNOWN"
if args["format"] == "text":
sbom_out.send_output(
f"[VERSION] {package}: "
f"Version changed from {version1} to {version2}"
f"[VERSION] {package}: "
f"Version changed from {version1} to {version2}"
)
package_info["status"] = "change"
version_info = dict()
Expand All @@ -171,8 +172,8 @@ def main(argv=None):
if not args["exclude_license"] and license1 != license2:
if args["format"] == "text":
sbom_out.send_output(
f"[LICENSE] {package}: "
f"License changed from {license1} to {license2}"
f"[LICENSE] {package}: "
f"License changed from {license1} to {license2}"
)
package_info["status"] = "change"
license_info = dict()
Expand Down

0 comments on commit 9740e51

Please sign in to comment.