Skip to content

Commit 60289f0

Browse files
authored
PYTHON-5433 (hotfix): Fix typing check for sbom requirements file (#2655)
1 parent 1e78bd4 commit 60289f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/generate_sbom_requirements.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- Excludes docs.txt and test.txt in the requirements folder
77
- Writes output to sbom-requirements.txt (overwrites)
88
"""
9+
910
from __future__ import annotations
1011

1112
from pathlib import Path
@@ -59,7 +60,7 @@ def write_combined_req_files(root: Path, files: list[Path], outname: str) -> Pat
5960
raise RuntimeError(f"Failed to write {outpath}: {e}") from e
6061

6162

62-
def main():
63+
def main() -> None:
6364
root = Path(__file__).parent.parent.resolve()
6465

6566
files = collect_files(root)

0 commit comments

Comments
 (0)