Skip to content

Commit 485f688

Browse files
authored
Add PEP723 header to scripts/validate_solutions.py (#12731)
Enable `uv run scripts/validate_solutions.py` or `pipx run scripts/validate_solutions.py` * https://peps.python.org/pep-0723 * https://docs.astral.sh/uv/guides/scripts/#declaring-script-dependencies
1 parent 088c74e commit 485f688

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

scripts/validate_solutions.py

+9
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
#!/usr/bin/env python3
2+
3+
# /// script
4+
# requires-python = ">=3.13"
5+
# dependencies = [
6+
# "pytest",
7+
# "requests",
8+
# ]
9+
# ///
10+
211
import hashlib
312
import importlib.util
413
import json

0 commit comments

Comments
 (0)