Skip to content

Commit b377737

Browse files
committed
Define script requirements inline
1 parent 99aa6ac commit b377737

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

util/extract-metadata.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
1-
#!/usr/bin/env python3
1+
#!/usr/bin/env -S uv run --script
2+
3+
# /// script
4+
# requires-python = ">=3.10"
5+
# dependencies = [
6+
# "python-frontmatter==0.5.0",
7+
# "pyyaml",
8+
# "ruamel-yaml==0.16.12",
9+
# "yamllint==1.25.0",
10+
# ]
11+
# ///
212

313
import argparse
414
import sys

0 commit comments

Comments
 (0)