Skip to content

Commit

Permalink
Renamed model file to not reference CycloneDX as the models are agnos…
Browse files Browse the repository at this point in the history
…tic on purpose.
  • Loading branch information
madpah committed Sep 3, 2021
1 parent 5d3d491 commit 03d03ed
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion cyclonedx/model/bom.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from typing import List
from uuid import uuid4

from .cyclonedx import Component
from .component import Component
from ..parser import BaseParser


Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion cyclonedx/output/json.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from . import BaseOutput
from .schema import BaseSchemaVersion, SchemaVersion1Dot0, SchemaVersion1Dot1, SchemaVersion1Dot2, SchemaVersion1Dot3
from ..model.cyclonedx import Component
from ..model.component import Component


class Json(BaseOutput, BaseSchemaVersion):
Expand Down
2 changes: 1 addition & 1 deletion cyclonedx/output/xml.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from . import BaseOutput
from .schema import BaseSchemaVersion, SchemaVersion1Dot0, SchemaVersion1Dot1, SchemaVersion1Dot2, SchemaVersion1Dot3
from ..model.cyclonedx import Component
from ..model.component import Component


class Xml(BaseOutput, BaseSchemaVersion):
Expand Down
2 changes: 1 addition & 1 deletion cyclonedx/parser/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from abc import ABC
from typing import List

from ..model.cyclonedx import Component
from ..model.component import Component


class BaseParser(ABC):
Expand Down
2 changes: 1 addition & 1 deletion cyclonedx/parser/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from . import BaseParser

from ..model.cyclonedx import Component
from ..model.component import Component


class EnvironmentParser(BaseParser):
Expand Down
2 changes: 1 addition & 1 deletion cyclonedx/parser/requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from . import BaseParser

from ..model.cyclonedx import Component
from ..model.component import Component


class RequirementsParser(BaseParser):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_bom.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import os

from cyclonedx.model.bom import Bom
from cyclonedx.model.cyclonedx import Component
from cyclonedx.model.component import Component
from cyclonedx.parser.requirements import RequirementsFileParser


Expand Down
2 changes: 1 addition & 1 deletion tests/test_component.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from unittest import TestCase

from cyclonedx.model.cyclonedx import Component
from cyclonedx.model.component import Component
from packageurl import PackageURL


Expand Down
2 changes: 1 addition & 1 deletion tests/test_output_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from tests.base import BaseJsonTestCase

from cyclonedx.model.bom import Bom
from cyclonedx.model.cyclonedx import Component
from cyclonedx.model.component import Component
from cyclonedx.output import get_instance, OutputFormat, SchemaVersion
from cyclonedx.output.json import JsonV1Dot3, JsonV1Dot2

Expand Down
2 changes: 1 addition & 1 deletion tests/test_output_xml.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from os.path import dirname, join

from cyclonedx.model.bom import Bom
from cyclonedx.model.cyclonedx import Component
from cyclonedx.model.component import Component
from cyclonedx.output import get_instance, SchemaVersion
from cyclonedx.output.xml import XmlV1Dot3, XmlV1Dot2, XmlV1Dot1, XmlV1Dot0, Xml

Expand Down

0 comments on commit 03d03ed

Please sign in to comment.