Skip to content

Commit ab65fdd

Browse files
committed
Add trailing commas
1 parent acdd91b commit ab65fdd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Tools/build/generate_sbom.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class PackageFiles(typing.NamedTuple):
7070
"Modules/_hacl/README.md",
7171
"Modules/_hacl/python_hacl_namespace.h",
7272
]
73-
)
73+
),
7474
}
7575

7676

@@ -96,7 +96,7 @@ def filter_gitignored_paths(paths: list[str]) -> list[str]:
9696
git_check_ignore_proc = subprocess.run(
9797
["git", "check-ignore", "--verbose", "--non-matching", *paths],
9898
check=False,
99-
stdout=subprocess.PIPE
99+
stdout=subprocess.PIPE,
100100
)
101101
# 1 means matches, 0 means no matches.
102102
assert git_check_ignore_proc.returncode in (0, 1)
@@ -158,15 +158,15 @@ def main() -> None:
158158
"fileName": path,
159159
"checksums": [
160160
{"algorithm": "SHA1", "checksumValue": checksum_sha1},
161-
{"algorithm": "SHA256", "checksumValue": checksum_sha256}
162-
]
161+
{"algorithm": "SHA256", "checksumValue": checksum_sha256},
162+
],
163163
})
164164

165165
# Tie each file back to its respective package.
166166
sbom_relationships.append({
167167
"spdxElementId": package_spdx_id,
168168
"relatedSpdxElement": file_spdx_id,
169-
"relationshipType": "CONTAINS"
169+
"relationshipType": "CONTAINS",
170170
})
171171

172172
# Update the SBOM on disk

0 commit comments

Comments
 (0)