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
This commit is contained in:
Christian Clauss
2025-05-12 12:52:27 +02:00
committed by GitHub
parent 088c74e840
commit 485f688d06

View File

@ -1,4 +1,13 @@
#!/usr/bin/env python3
# /// script
# requires-python = ">=3.13"
# dependencies = [
# "pytest",
# "requests",
# ]
# ///
import hashlib
import importlib.util
import json