Skip to content

Commit 47c81a8

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5001ad7 commit 47c81a8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/generate-sbom.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
88
Output defaults to pillow-{version}.cdx.json in the current directory.
99
"""
10+
1011
from __future__ import annotations
1112

1213
import json
@@ -321,7 +322,9 @@ def generate(version: str) -> dict:
321322

322323
if __name__ == "__main__":
323324
version = get_version()
324-
output = Path(sys.argv[1]) if len(sys.argv) > 1 else Path(f"pillow-{version}.cdx.json")
325+
output = (
326+
Path(sys.argv[1]) if len(sys.argv) > 1 else Path(f"pillow-{version}.cdx.json")
327+
)
325328
sbom = generate(version)
326329
output.write_text(json.dumps(sbom, indent=2) + "\n", encoding="utf-8")
327330
print(f"Wrote {output} (Pillow {version}, {len(sbom['components'])} components)")

0 commit comments

Comments
 (0)