Skip to content

Commit 00fe6f8

Browse files
committed
Add comments for excluding reuse
1 parent 519e73a commit 00fe6f8

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

src/fosslight_source/_parsing_scancode_file_item.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def parsing_file_item(scancode_file_list, has_error, need_matched_license=False)
8484
if licenses is None or licenses == "":
8585
continue
8686

87-
license_expression_list = file.get("license_expressions",{})
87+
license_expression_list = file.get("license_expressions", {})
8888
if len(license_expression_list) > 0:
8989
license_expression_list = [
9090
x.lower() for x in license_expression_list

tests/test_files/dual.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
# Copyright (c) 2020 LG Electronics Inc.
22
# Copyright (c) 2021 LG Electronics Inc.
3+
# REUSE-IgnoreStart
34
# SPDX-License-Identifier: GPL-2.0 or MIT
5+
# REUSE-IgnoreEnd

tests/test_files/spdx_lic.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
# REUSE-IgnoreStart
12
# SPDX-License-Identifier: licenseref-TEMP_LICENSE
3+
# REUSE-IgnoreEnd

0 commit comments

Comments
 (0)