Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/spdx3/bump_from_spdx2/actor.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from typing import List

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/bump_from_spdx2/annotation.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from copy import deepcopy

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/bump_from_spdx2/bump_utils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from typing import Optional, Union

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/bump_from_spdx2/checksum.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from spdx3.model.hash import Hash, HashAlgorithm
from spdx.model.checksum import Checksum as Spdx2_Checksum
Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/bump_from_spdx2/creation_information.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from datetime import datetime
from typing import List
Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/bump_from_spdx2/external_document_ref.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from typing import List

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/bump_from_spdx2/file.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from spdx3.bump_from_spdx2.checksum import bump_checksum
from spdx3.bump_from_spdx2.message import print_missing_conversion
Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/bump_from_spdx2/message.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0

import sys
Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/bump_from_spdx2/package.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from spdx3.bump_from_spdx2.actor import bump_actor
from spdx3.bump_from_spdx2.bump_utils import handle_no_assertion_or_none
Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/bump_from_spdx2/relationship.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from typing import Optional, Tuple

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/bump_from_spdx2/snippet.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from spdx3.bump_from_spdx2.message import print_missing_conversion
from spdx3.model.creation_information import CreationInformation
Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/bump_from_spdx2/spdx_document.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from spdx3.bump_from_spdx2.annotation import bump_annotation
from spdx3.bump_from_spdx2.creation_information import bump_creation_information
Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/clitools/pyspdxtools3.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
import sys
from typing import List
Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/model/agent.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from typing import List, Optional

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/model/annotation.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from enum import Enum, auto
from typing import List, Optional
Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/model/artifact.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from abc import abstractmethod
from typing import Optional
Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/model/bom.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from typing import List, Optional

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/model/bundle.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from typing import List, Optional

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/model/creation_information.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from datetime import datetime
from typing import List, Optional
Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/model/element.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from abc import ABC, abstractmethod
from dataclasses import field
Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/model/external_identifier.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from enum import Enum, auto
from typing import Optional
Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/model/external_map.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from dataclasses import field
from typing import List, Optional
Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/model/external_reference.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from dataclasses import field
from enum import Enum, auto
Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/model/hash.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from enum import Enum, auto
from typing import Optional
Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/model/integrity_method.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from abc import ABC, abstractmethod
from typing import Optional
Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/model/namespace_map.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from typing import Optional

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/model/organization.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from typing import List, Optional

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/model/person.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from typing import List, Optional

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/model/profile_identifier.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from enum import Enum, auto

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/model/relationship.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from enum import Enum, auto
from typing import List, Optional
Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/model/software/file.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from typing import List, Optional

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/model/software/package.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from typing import List, Optional

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/model/software/sbom.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from typing import List, Optional

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/model/software/snippet.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from typing import List, Optional, Tuple

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/model/software/software_purpose.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from enum import Enum, auto

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/model/software_agent.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from typing import List, Optional

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/model/spdx_collection.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from abc import abstractmethod
from dataclasses import field
Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/model/spdx_document.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from typing import List, Optional

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/model/tool.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from typing import List, Optional

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/payload.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from typing import Dict

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/writer/console/agent_writer.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from typing import TextIO

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/writer/console/annotation_writer.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from typing import TextIO

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/writer/console/artifact_writer.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from typing import TextIO

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/writer/console/bom_writer.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from typing import TextIO

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/writer/console/bundle_writer.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from typing import TextIO

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/writer/console/console.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0

from typing import Optional, TextIO, Union
Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/writer/console/creation_information_writer.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from typing import TextIO

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/writer/console/element_writer.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from typing import TextIO

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/writer/console/external_identifier_writer.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from typing import TextIO

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/writer/console/external_map_writer.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from typing import TextIO

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/writer/console/external_reference_writer.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from typing import TextIO

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/writer/console/hash_writer.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from typing import TextIO

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/writer/console/integrity_method_writer.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from typing import TextIO

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/writer/console/namespace_map_writer.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from typing import TextIO

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/writer/console/payload_writer.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from typing import TextIO

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/writer/console/relationship_writer.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from typing import TextIO

Expand Down
2 changes: 1 addition & 1 deletion src/spdx3/writer/console/software/file_writer.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2023 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from typing import TextIO

Expand Down
Loading