Skip to content

Commit

Permalink
chore: revisit license headers
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Kowalleck <[email protected]>
  • Loading branch information
jkowalleck committed Oct 9, 2023
1 parent 7543789 commit 1e963bd
Show file tree
Hide file tree
Showing 16 changed files with 32 additions and 7 deletions.
2 changes: 2 additions & 0 deletions cyclonedx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
# Copyright (c) OWASP Foundation. All Rights Reserved.


"""
Python library for generating and representing CycloneDX software bill-of-materials.
Expand Down
3 changes: 2 additions & 1 deletion cyclonedx/exception/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
#
# Copyright (c) OWASP Foundation. All Rights Reserved.


"""
Exceptions that are specific to the CycloneDX library implementation.
Expand Down
3 changes: 2 additions & 1 deletion cyclonedx/exception/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
#
# Copyright (c) OWASP Foundation. All Rights Reserved.


"""
Exceptions relating to specific conditions that occur when factoring a model.
Expand Down
3 changes: 2 additions & 1 deletion cyclonedx/exception/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
#
# Copyright (c) OWASP Foundation. All Rights Reserved.


"""
Exceptions relating to specific conditions that occur when modelling CycloneDX BOM.
Expand Down
3 changes: 2 additions & 1 deletion cyclonedx/exception/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
#
# Copyright (c) OWASP Foundation. All Rights Reserved.


"""
Exceptions that are for specific error scenarios during the output of a Model to a SBOM.
Expand Down
2 changes: 2 additions & 0 deletions cyclonedx/model/bom.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
#
# SPDX-License-Identifier: Apache-2.0
# Copyright (c) OWASP Foundation. All Rights Reserved.


import warnings
from datetime import datetime
from itertools import chain
Expand Down
2 changes: 2 additions & 0 deletions cyclonedx/output/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
# Copyright (c) OWASP Foundation. All Rights Reserved.


"""
Set of classes and methods for outputting our libraries internal Bom model to CycloneDX documents in varying formats
Expand Down
2 changes: 2 additions & 0 deletions cyclonedx/parser/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
# Copyright (c) OWASP Foundation. All Rights Reserved.


"""
Set of classes and methods which allow for quick creation of a Bom instance from your environment or Python project.
Expand Down
2 changes: 2 additions & 0 deletions cyclonedx/schema/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
# Copyright (c) OWASP Foundation. All Rights Reserved.


from enum import Enum, auto, unique
from typing import Any, Type, TypeVar
Expand Down
2 changes: 2 additions & 0 deletions cyclonedx/schema/_res/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
# Copyright (c) OWASP Foundation. All Rights Reserved.


from os.path import dirname, join
from typing import Dict, Optional
Expand Down
2 changes: 2 additions & 0 deletions cyclonedx/serialization/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
# Copyright (c) OWASP Foundation. All Rights Reserved.


"""
Set of helper classes for use with ``serializable`` when conducting (de-)serialization.
Expand Down
2 changes: 2 additions & 0 deletions cyclonedx/spdx.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
# Copyright (c) OWASP Foundation. All Rights Reserved.


__all__ = [
'is_supported_id', 'fixup_id',
Expand Down
2 changes: 2 additions & 0 deletions cyclonedx/validation/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
# Copyright (c) OWASP Foundation. All Rights Reserved.


from abc import ABC, abstractmethod
from importlib import import_module
Expand Down
2 changes: 2 additions & 0 deletions cyclonedx/validation/json.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
# Copyright (c) OWASP Foundation. All Rights Reserved.


__all__ = ['JsonValidator', 'JsonStrictValidator']

Expand Down
2 changes: 2 additions & 0 deletions cyclonedx/validation/xml.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
# Copyright (c) OWASP Foundation. All Rights Reserved.


__all__ = ['XmlValidator']

Expand Down
5 changes: 2 additions & 3 deletions typings/sortedcontainers.pyi
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Correct as of 27 May 2022
# sortedcontainers does not have PEP561 type hints, and there are no published typeshed hints.
# The contents of this file were obtained from
# The contents of this file were obtained from
# https://github.com/althonos/python-sortedcontainers/blob/d0a225d7fd0fb4c54532b8798af3cbeebf97e2d5/sortedcontainers/sortedset.pyi

from typing import ( # Iterator,; Tuple,; Type,
from typing import ( # Iterator,; Tuple,; Type, Set
Any,
Callable,
Hashable,
Expand All @@ -12,7 +12,6 @@ from typing import ( # Iterator,; Tuple,; Type,
MutableSet,
Optional,
Sequence,
Set,
TypeVar,
Union,
overload,
Expand Down

0 comments on commit 1e963bd

Please sign in to comment.