Skip to content

Commit b4bf841

Browse files
committed
[IMP] tools/graph-upgrade-timing.py
Add inline metadata (PEP723) about script dependencies. Change the shebang to `uv` to take this metadata into account. Part-of: #220 Signed-off-by: Christophe Simonis (chs) <[email protected]>
1 parent ad5347a commit b4bf841

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

tools/graph-upgrade-timing.py

100644100755
Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
1-
#!/usr/bin/env python3
1+
#!/usr/bin/env -S uv run --script --quiet
22
# ruff: noqa: RET503
3+
4+
# /// script
5+
# dependencies = [
6+
# "pygal[png]",
7+
# ]
8+
# ///
9+
310
import argparse
411
import os
512
import re

0 commit comments

Comments
 (0)