Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Lines changed: 9 additions & 0 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /