Skip to content

add missing license identifiers #557

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
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/spdx/casing_tools.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2022 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from re import sub

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

#
# SPDX-License-Identifier: Apache-2.0
from datetime import datetime

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

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

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

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

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

#
# SPDX-License-Identifier: Apache-2.0
from typing import Any, Type

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

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

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

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

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

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

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

#
# SPDX-License-Identifier: Apache-2.0
from abc import ABC, abstractmethod
from typing import Any, Dict, Generic, Type, TypeVar
Expand Down
2 changes: 1 addition & 1 deletion src/spdx/jsonschema/creation_info_converter.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2022 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from typing import Any, Type

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

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

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

#
# SPDX-License-Identifier: Apache-2.0
from typing import Any, Type

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

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

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

#
# SPDX-License-Identifier: Apache-2.0
from typing import Any, Type

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

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

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

#
# SPDX-License-Identifier: Apache-2.0
from typing import Any, Type

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

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

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

#
# SPDX-License-Identifier: Apache-2.0
from typing import Any, Type

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

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

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

#
# SPDX-License-Identifier: Apache-2.0
from typing import Any, Type

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

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

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

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

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

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

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

#
# SPDX-License-Identifier: Apache-2.0
from typing import Any, Type

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

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

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

#
# SPDX-License-Identifier: Apache-2.0
from typing import Any, Type

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2022 spdx contributors

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

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

#
# SPDX-License-Identifier: Apache-2.0
from typing import Any, Type

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

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

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

#
# SPDX-License-Identifier: Apache-2.0
from typing import Any, Dict, Tuple, Type

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

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

Expand Down
2 changes: 1 addition & 1 deletion src/spdx/model/actor.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2022 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/spdx/model/annotation.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2022 spdx contributors

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

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

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

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

#
# SPDX-License-Identifier: Apache-2.0

from common.typing.dataclass_with_properties import dataclass_with_properties
Expand Down
2 changes: 1 addition & 1 deletion src/spdx/model/extracted_licensing_info.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2022 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0
from dataclasses import field
from typing import List, Optional, Union
Expand Down
2 changes: 1 addition & 1 deletion src/spdx/model/file.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2022 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/spdx/model/package.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2022 spdx contributors

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

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

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

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

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

#
# SPDX-License-Identifier: Apache-2.0

SPDX_NO_ASSERTION_STRING = "NOASSERTION"
Expand Down
2 changes: 1 addition & 1 deletion src/spdx/model/spdx_none.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2022 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0

SPDX_NONE_STRING = "NONE"
Expand Down
2 changes: 1 addition & 1 deletion src/spdx/model/version.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2022 spdx contributors

#
# SPDX-License-Identifier: Apache-2.0


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

#
# SPDX-License-Identifier: Apache-2.0
import re
from typing import Match, Optional, Pattern
Expand Down
2 changes: 1 addition & 1 deletion src/spdx/parser/error.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2022 spdx contributors

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

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

#
# SPDX-License-Identifier: Apache-2.0
import json
from typing import Dict
Expand Down
2 changes: 1 addition & 1 deletion src/spdx/parser/jsonlikedict/annotation_parser.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2022 spdx contributors

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

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

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

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

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

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-FileCopyrightText: 2022 spdx contributors

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

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

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

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

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

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

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

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

#
# SPDX-License-Identifier: Apache-2.0
from datetime import datetime
from typing import Dict, List, Optional, Union
Expand Down
Loading