diff --git a/examples/__init__.py b/examples/__init__.py index 1f63eb496..c556ae14f 100644 --- a/examples/__init__.py +++ b/examples/__init__.py @@ -1,4 +1,5 @@ # Copyright (c) 2020 Yash Varshney +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/examples/tv_to_rdf.py b/examples/tv_to_rdf.py index db890961e..d73c80ce5 100755 --- a/examples/tv_to_rdf.py +++ b/examples/tv_to_rdf.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # Copyright (C) 2017 BMW AG # Author: Thomas Hafner -# +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/annotation.py b/spdx/annotation.py index 51cff82d9..7e4b0fefa 100644 --- a/spdx/annotation.py +++ b/spdx/annotation.py @@ -1,4 +1,5 @@ # Copyright (c) 2018 Yash M. Nisar +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/checksum.py b/spdx/checksum.py index 634a59ad5..73bb79de3 100644 --- a/spdx/checksum.py +++ b/spdx/checksum.py @@ -1,4 +1,5 @@ # Copyright (c) 2014 Ahmed H. Ismail +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/cli_tools/__init__.py b/spdx/cli_tools/__init__.py index 1f63eb496..c556ae14f 100644 --- a/spdx/cli_tools/__init__.py +++ b/spdx/cli_tools/__init__.py @@ -1,4 +1,5 @@ # Copyright (c) 2020 Yash Varshney +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/cli_tools/convertor.py b/spdx/cli_tools/convertor.py index 04e96af72..261ba1c14 100644 --- a/spdx/cli_tools/convertor.py +++ b/spdx/cli_tools/convertor.py @@ -1,6 +1,7 @@ #!/usr/bin/env python # Copyright (c) 2020 Yash Varshney +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/cli_tools/parser.py b/spdx/cli_tools/parser.py index aad96d1c2..e458b6e3e 100755 --- a/spdx/cli_tools/parser.py +++ b/spdx/cli_tools/parser.py @@ -1,6 +1,7 @@ #!/usr/bin/env python # Copyright (c) 2020 Yash Varshney +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/config.py b/spdx/config.py index a10582043..0eb2efed1 100644 --- a/spdx/config.py +++ b/spdx/config.py @@ -1,4 +1,5 @@ # Copyright (c) 2014 Ahmed H. Ismail +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/creationinfo.py b/spdx/creationinfo.py index eca9cbe37..6e71c2e90 100644 --- a/spdx/creationinfo.py +++ b/spdx/creationinfo.py @@ -1,4 +1,5 @@ # Copyright (c) 2014 Ahmed H. Ismail +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/document.py b/spdx/document.py index 3175df40e..e610a5081 100644 --- a/spdx/document.py +++ b/spdx/document.py @@ -1,4 +1,5 @@ # Copyright (c) 2014 Ahmed H. Ismail +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/file.py b/spdx/file.py index bab50e2ad..d63e40e06 100644 --- a/spdx/file.py +++ b/spdx/file.py @@ -1,4 +1,5 @@ # Copyright (c) 2014 Ahmed H. Ismail +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/license.py b/spdx/license.py index ea973f5fd..08fc596fe 100644 --- a/spdx/license.py +++ b/spdx/license.py @@ -1,4 +1,5 @@ # Copyright (c) 2022 spdx contributors +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/package.py b/spdx/package.py index 93b62e2cd..4e96e1b53 100644 --- a/spdx/package.py +++ b/spdx/package.py @@ -1,4 +1,5 @@ # Copyright (c) 2014 Ahmed H. Ismail +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/parsers/__init__.py b/spdx/parsers/__init__.py index 588b404ec..1d59a27e0 100644 --- a/spdx/parsers/__init__.py +++ b/spdx/parsers/__init__.py @@ -1,4 +1,5 @@ # Copyright (c) 2014 Ahmed H. Ismail +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/parsers/builderexceptions.py b/spdx/parsers/builderexceptions.py index fe03f8d51..b70aa93de 100644 --- a/spdx/parsers/builderexceptions.py +++ b/spdx/parsers/builderexceptions.py @@ -1,4 +1,5 @@ # Copyright (c) 2014 Ahmed H. Ismail +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/parsers/jsonparser.py b/spdx/parsers/jsonparser.py index 5436a6798..d9e404cce 100644 --- a/spdx/parsers/jsonparser.py +++ b/spdx/parsers/jsonparser.py @@ -1,4 +1,5 @@ # Copyright (c) Xavier Figueroa +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/parsers/jsonyamlxml.py b/spdx/parsers/jsonyamlxml.py index 5d27ae9a9..0220c69c1 100644 --- a/spdx/parsers/jsonyamlxml.py +++ b/spdx/parsers/jsonyamlxml.py @@ -1,4 +1,5 @@ # Copyright (c) Xavier Figueroa +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/parsers/jsonyamlxmlbuilders.py b/spdx/parsers/jsonyamlxmlbuilders.py index 94d464edc..306b84990 100644 --- a/spdx/parsers/jsonyamlxmlbuilders.py +++ b/spdx/parsers/jsonyamlxmlbuilders.py @@ -1,4 +1,5 @@ # Copyright (c) Xavier Figueroa +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/parsers/lexers/tagvalue.py b/spdx/parsers/lexers/tagvalue.py index deafd7186..5368587db 100644 --- a/spdx/parsers/lexers/tagvalue.py +++ b/spdx/parsers/lexers/tagvalue.py @@ -1,4 +1,5 @@ # Copyright (c) 2014 Ahmed H. Ismail +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/parsers/loggers.py b/spdx/parsers/loggers.py index a74715f77..c22acb120 100644 --- a/spdx/parsers/loggers.py +++ b/spdx/parsers/loggers.py @@ -1,4 +1,5 @@ # Copyright (c) 2014 Ahmed H. Ismail +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/parsers/parse_anything.py b/spdx/parsers/parse_anything.py index 906337fff..523caebbe 100644 --- a/spdx/parsers/parse_anything.py +++ b/spdx/parsers/parse_anything.py @@ -1,4 +1,5 @@ # Copyright (c) spdx contributors +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/parsers/rdf.py b/spdx/parsers/rdf.py index 94841127d..9580ed02a 100644 --- a/spdx/parsers/rdf.py +++ b/spdx/parsers/rdf.py @@ -1,4 +1,5 @@ # Copyright (c) 2014 Ahmed H. Ismail +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/parsers/rdfbuilders.py b/spdx/parsers/rdfbuilders.py index c7845ae4d..cc5afdf84 100644 --- a/spdx/parsers/rdfbuilders.py +++ b/spdx/parsers/rdfbuilders.py @@ -1,4 +1,5 @@ # Copyright (c) 2014 Ahmed H. Ismail +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/parsers/tagvalue.py b/spdx/parsers/tagvalue.py index 8a3b0d170..23b71779a 100644 --- a/spdx/parsers/tagvalue.py +++ b/spdx/parsers/tagvalue.py @@ -1,4 +1,5 @@ # Copyright (c) 2014 Ahmed H. Ismail +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/parsers/tagvaluebuilders.py b/spdx/parsers/tagvaluebuilders.py index f99fde3e8..77c98d9e8 100644 --- a/spdx/parsers/tagvaluebuilders.py +++ b/spdx/parsers/tagvaluebuilders.py @@ -1,4 +1,5 @@ # Copyright (c) 2014 Ahmed H. Ismail +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/parsers/validations.py b/spdx/parsers/validations.py index f93112306..f910795f3 100644 --- a/spdx/parsers/validations.py +++ b/spdx/parsers/validations.py @@ -1,4 +1,5 @@ # Copyright (c) 2014 Ahmed H. Ismail +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/parsers/xmlparser.py b/spdx/parsers/xmlparser.py index d57d8175e..58b8befc4 100644 --- a/spdx/parsers/xmlparser.py +++ b/spdx/parsers/xmlparser.py @@ -1,4 +1,5 @@ # Copyright (c) Xavier Figueroa +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/parsers/yamlparser.py b/spdx/parsers/yamlparser.py index 1130e1ca7..a624d6085 100644 --- a/spdx/parsers/yamlparser.py +++ b/spdx/parsers/yamlparser.py @@ -1,4 +1,5 @@ # Copyright (c) Xavier Figueroa +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/relationship.py b/spdx/relationship.py index 5eaa62fa3..9fbceec86 100644 --- a/spdx/relationship.py +++ b/spdx/relationship.py @@ -1,5 +1,5 @@ # Copyright (c) 2020 Yash Varshney - +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/review.py b/spdx/review.py index 42c4982ee..deec8b705 100644 --- a/spdx/review.py +++ b/spdx/review.py @@ -1,4 +1,5 @@ # Copyright (c) 2014 Ahmed H. Ismail +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/snippet.py b/spdx/snippet.py index cd79e3b55..1129c4ad3 100644 --- a/spdx/snippet.py +++ b/spdx/snippet.py @@ -1,4 +1,5 @@ # Copyright (c) 2018 Yash M. Nisar +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/utils.py b/spdx/utils.py index 3695cd0bd..ebce59285 100644 --- a/spdx/utils.py +++ b/spdx/utils.py @@ -1,4 +1,5 @@ # Copyright (c) 2014 Ahmed H. Ismail +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/version.py b/spdx/version.py index 8be8e7ddc..dae2ffe6b 100644 --- a/spdx/version.py +++ b/spdx/version.py @@ -1,4 +1,5 @@ # Copyright (c) 2014 Ahmed H. Ismail +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/writers/json.py b/spdx/writers/json.py index a2b226fdf..745b5b5e0 100644 --- a/spdx/writers/json.py +++ b/spdx/writers/json.py @@ -1,4 +1,5 @@ # Copyright (c) Xavier Figueroa +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/writers/jsonyamlxml.py b/spdx/writers/jsonyamlxml.py index d36e21112..bb4bd44e3 100644 --- a/spdx/writers/jsonyamlxml.py +++ b/spdx/writers/jsonyamlxml.py @@ -1,4 +1,5 @@ # Copyright (c) Xavier Figueroa +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/writers/rdf.py b/spdx/writers/rdf.py index 7e2b898f7..6622072be 100644 --- a/spdx/writers/rdf.py +++ b/spdx/writers/rdf.py @@ -1,4 +1,5 @@ # Copyright (c) 2014 Ahmed H. Ismail +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/writers/tagvalue.py b/spdx/writers/tagvalue.py index dca2b2a17..66ed212c8 100644 --- a/spdx/writers/tagvalue.py +++ b/spdx/writers/tagvalue.py @@ -1,4 +1,5 @@ # Copyright (c) 2014 Ahmed H. Ismail +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/writers/write_anything.py b/spdx/writers/write_anything.py index 63a4f4c3b..94ed8f06a 100644 --- a/spdx/writers/write_anything.py +++ b/spdx/writers/write_anything.py @@ -1,4 +1,5 @@ # Copyright (c) spdx contributors +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/writers/xml.py b/spdx/writers/xml.py index 14bbd4b99..3e280eece 100644 --- a/spdx/writers/xml.py +++ b/spdx/writers/xml.py @@ -1,4 +1,5 @@ # Copyright (c) the SPDX tools authors +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/spdx/writers/yaml.py b/spdx/writers/yaml.py index 2ccc6884d..37092d309 100644 --- a/spdx/writers/yaml.py +++ b/spdx/writers/yaml.py @@ -1,4 +1,5 @@ # Copyright (c) Xavier Figueroa +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/tests/test_builder.py b/tests/test_builder.py index 50c6cf7f4..bf72626e5 100644 --- a/tests/test_builder.py +++ b/tests/test_builder.py @@ -1,4 +1,5 @@ # Copyright (c) 2014 Ahmed H. Ismail +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/tests/test_checksum.py b/tests/test_checksum.py index befba2033..b484e7441 100644 --- a/tests/test_checksum.py +++ b/tests/test_checksum.py @@ -1,4 +1,5 @@ # Copyright (c) 2022 spdx contributors +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/tests/test_cli_convertor.py b/tests/test_cli_convertor.py index 11413b933..00b2e0482 100644 --- a/tests/test_cli_convertor.py +++ b/tests/test_cli_convertor.py @@ -1,4 +1,5 @@ # Copyright (c) 2022 spdx tool contributors +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/tests/test_config.py b/tests/test_config.py index 28dab95b3..940f858e7 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -1,5 +1,5 @@ - # Copyright (c) the SPDX tools authors +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/tests/test_conversion.py b/tests/test_conversion.py index 4d61300d1..793d1951d 100644 --- a/tests/test_conversion.py +++ b/tests/test_conversion.py @@ -1,5 +1,5 @@ - # Copyright (c) 2014 Ahmed H. Ismail +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/tests/test_creationinfo.py b/tests/test_creationinfo.py index 16201829c..ed8048bcf 100644 --- a/tests/test_creationinfo.py +++ b/tests/test_creationinfo.py @@ -1,5 +1,5 @@ - # Copyright (c) 2014 Ahmed H. Ismail +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/tests/test_document.py b/tests/test_document.py index 85167ae4b..949014917 100644 --- a/tests/test_document.py +++ b/tests/test_document.py @@ -1,4 +1,5 @@ # Copyright (c) 2014 Ahmed H. Ismail +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/tests/test_error_messages.py b/tests/test_error_messages.py index fa57f136a..9c6141e4d 100644 --- a/tests/test_error_messages.py +++ b/tests/test_error_messages.py @@ -1,4 +1,5 @@ # Copyright (c) 2021 spdx tool contributors +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/tests/test_jsonyamlxml_parser.py b/tests/test_jsonyamlxml_parser.py index 4198b8eff..5a1c2d1d0 100644 --- a/tests/test_jsonyamlxml_parser.py +++ b/tests/test_jsonyamlxml_parser.py @@ -1,5 +1,5 @@ - # Copyright (c) Xavier Figueroa +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/tests/test_package.py b/tests/test_package.py index 3b8325b02..6b97ea7ff 100644 --- a/tests/test_package.py +++ b/tests/test_package.py @@ -1,4 +1,5 @@ # Copyright (c) 2014 Ahmed H. Ismail +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/tests/test_parse_anything.py b/tests/test_parse_anything.py index c133f9b0b..f40a0bec1 100644 --- a/tests/test_parse_anything.py +++ b/tests/test_parse_anything.py @@ -1,4 +1,5 @@ # Copyright (c) 2021 spdx tool contributors +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/tests/test_parsers_validation.py b/tests/test_parsers_validation.py index 4795fb6d5..3d1460b31 100644 --- a/tests/test_parsers_validation.py +++ b/tests/test_parsers_validation.py @@ -1,5 +1,5 @@ - # Copyright (c) SPDX Python tools authors +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/tests/test_rdf_parser.py b/tests/test_rdf_parser.py index 7963781fa..6d581b6dd 100644 --- a/tests/test_rdf_parser.py +++ b/tests/test_rdf_parser.py @@ -1,5 +1,5 @@ - # Copyright (c) the SPDX tools authors +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/tests/test_tag_value_parser.py b/tests/test_tag_value_parser.py index 2c5ad293b..c883c2d37 100644 --- a/tests/test_tag_value_parser.py +++ b/tests/test_tag_value_parser.py @@ -1,4 +1,5 @@ # Copyright (c) 2014 Ahmed H. Ismail +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/tests/test_write_anything.py b/tests/test_write_anything.py index 5f3c8b915..bbfde4628 100644 --- a/tests/test_write_anything.py +++ b/tests/test_write_anything.py @@ -1,4 +1,5 @@ # Copyright (c) 2021 spdx tool contributors +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/tests/testing_utils.py b/tests/testing_utils.py index 825276545..0e38221a9 100644 --- a/tests/testing_utils.py +++ b/tests/testing_utils.py @@ -3,6 +3,7 @@ # https://raw.githubusercontent.com/nose-devs/nose/7c26ad1e6b7d308cafa328ad34736d34028c122a/nose/tools/nontrivial.py # Copyright (c) 2005-2009 Jason Pellerin and others. # +# SPDX-License-Identifier: GPL-2.0-or-later # This program is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later version. diff --git a/tests/utils_test.py b/tests/utils_test.py index c1a7b8abb..5e6ada81c 100644 --- a/tests/utils_test.py +++ b/tests/utils_test.py @@ -1,4 +1,5 @@ # Copyright (c) the SPDX tools authors +# SPDX-License-Identifier: Apache-2.0 # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at