@@ -70,7 +70,7 @@ class PackageFiles(typing.NamedTuple):
70
70
"Modules/_hacl/README.md" ,
71
71
"Modules/_hacl/python_hacl_namespace.h" ,
72
72
]
73
- )
73
+ ),
74
74
}
75
75
76
76
@@ -96,7 +96,7 @@ def filter_gitignored_paths(paths: list[str]) -> list[str]:
96
96
git_check_ignore_proc = subprocess .run (
97
97
["git" , "check-ignore" , "--verbose" , "--non-matching" , * paths ],
98
98
check = False ,
99
- stdout = subprocess .PIPE
99
+ stdout = subprocess .PIPE ,
100
100
)
101
101
# 1 means matches, 0 means no matches.
102
102
assert git_check_ignore_proc .returncode in (0 , 1 )
@@ -158,15 +158,15 @@ def main() -> None:
158
158
"fileName" : path ,
159
159
"checksums" : [
160
160
{"algorithm" : "SHA1" , "checksumValue" : checksum_sha1 },
161
- {"algorithm" : "SHA256" , "checksumValue" : checksum_sha256 }
162
- ]
161
+ {"algorithm" : "SHA256" , "checksumValue" : checksum_sha256 },
162
+ ],
163
163
})
164
164
165
165
# Tie each file back to its respective package.
166
166
sbom_relationships .append ({
167
167
"spdxElementId" : package_spdx_id ,
168
168
"relatedSpdxElement" : file_spdx_id ,
169
- "relationshipType" : "CONTAINS"
169
+ "relationshipType" : "CONTAINS" ,
170
170
})
171
171
172
172
# Update the SBOM on disk
0 commit comments